Hi All,

Quick Perl question: Why I can not do something like this?

my @arr = ((10,20), (100,200), (111,222));

foreach my ($a,$b) (@arr)
{
   print "a=$a, b=$b\n";
}


Regards
Chanan

-- 
===================
----     Chanan Berler    ----
===================
_______________________________________________
Perl mailing list
Perl@perl.org.il
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to