On 8/23/06, Andrej Kastrin <[EMAIL PROTECTED]> wrote:
below is simple solution for union and intersection for a pair of arrays (@a and @b). How to modify this example that I can calculate union and intersection for each pair of "n" arrays.
Use a pair of nested loops; the outer picks one item from the n arrays, the inner picks a second. Inside, call your current code once for each pair of arrays. Hope this helps! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>