Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: map it back jackby redcloud (Parson) |
on Dec 16, 2000 at 02:59 UTC ( [id://46961]=note: print w/replies, xml ) | Need Help?? |
Seems like you can save a couple of keystrokes if you're
not particular about what ends up in $v,
since s/// operates on $_:
Is there a way to pare it down more? (The Monastery needs a golf course!) Update: As I0 points out, this also modifies @elements, which may not be what you want. johannz's for construct is looking the most elegant to me now.
In Section
Seekers of Perl Wisdom
|
|