Welcome to the Monastery | |
PerlMonks |
Re: Perl Riddleby webfiend (Vicar) |
on Dec 03, 2007 at 22:08 UTC ( [id://654664]=note: print w/replies, xml ) | Need Help?? |
It might just be a personal problem, but most times I use each it ends up biting me. I've just settled into using a for loop, and it never caused me any problems related to resetting. So instead of
... I would probably end up doing this:
This is a personal preference, and I'll admit that it does result in a little more code. I'm okay with that. I'd probably use map if I was concerned about brevity. The important thing is that I don't have to worry about resetting anything.
In Section
Seekers of Perl Wisdom
|
|