in reply to (zdog) Re: (2) Filling an array
in thread Filling an array
++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!
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