Just another Perl shrine | |
PerlMonks |
Re: Re: Making little array babiesby revdiablo (Prior) |
on Apr 12, 2004 at 21:50 UTC ( [id://344544]=note: print w/replies, xml ) | Need Help?? |
To aid in my irrational goal to never use the C-style for loop in Perl -- as well as the more widely accepted goal of TMTOWTDI -- here's how I'd do that:
I was going to make the case that I like to avoid the C-style for loop because it looks ugly in Perl with all the sigils clogging things up, but after I typed out my alternative, I realized its readability is not much better. *shrug*
In Section
Seekers of Perl Wisdom
|
|