Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: can we pass two variable to foreach loop

by Sidhekin (Priest)
on Mar 28, 2007 at 05:42 UTC ( #606913=note: print w/replies, xml ) Need Help??


in reply to can we pass two variable to foreach loop

Not until Perl 6.

Meanwhile, there are still other ways to do it. Any specific use case in mind?

print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!