Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Loop Breakby TomDLux (Vicar) |
on Jan 19, 2012 at 18:33 UTC ( [id://948833]=note: print w/replies, xml ) | Need Help?? |
There's enough up there about the correct use of glob() and of m{}. I'd like to point out it's silly to glob on *.* and then ignore anything not matching *.c. Be more specific in the glob and you won't need the internal condition:
As Occam said: Entia non sunt multiplicanda praeter necessitatem.
In Section
Seekers of Perl Wisdom
|
|