Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: (zdog) Re: (2) Filling an array

by spartan (Pilgrim)
on Sep 10, 2001 at 19:50 UTC ( #111496=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://111496]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2023-02-01 12:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (2 votes). Check out past polls.

    Notices?