![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re: (zdog) Re: (2) Filling an arrayby spartan (Pilgrim) |
on Sep 10, 2001 at 19:50 UTC ( #111496=note: print w/replies, xml ) | Need Help?? |
++zdog for (0 .. $#array) { print "$_ $array[$_]\n" } I like that... very clean, to the point, and quite readable. The only reason I chose map was to flex an all too atrophied brain muscle. :) TMTOWTDI Very funny Scotty... Now PLEASE beam down my PANTS!
In Section
Seekers of Perl Wisdom
|
|