in reply to while(<>) { ... } considered harmful
'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!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: while(<>) { ... } considered harmful
by Ovid (Cardinal) on Sep 08, 2002 at 00:58 UTC |
In Section
Meditations