|
|
| "be consistent" | |
| PerlMonks |
Re: while(<>) { ... } considered harmfulby BrowserUk (Pope) |
| on Sep 08, 2002 at 00:36 UTC ( #195944=note: print w/ replies, xml ) | Need Help?? |
|
'scuse my ignorance of nether regions below Perl's skirts, but would it impose a huge performance penalty for map and grep to localise $_ on entry? I visualise them as subs with their own local scope. Would a local $_; at the top cost so very much? Well It's better than the Abottoire, but Yorkshire!
In Section
Meditations
|
|
||||||||||||||||||||||