'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?
In reply to Re: while(<>) { ... } considered harmful
by BrowserUk
in thread while(<>) { ... } considered harmful
by IlyaM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |