Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^4: accessing the result of a match as an arrayby AnomalousMonk (Archbishop) |
on Dec 24, 2009 at 23:21 UTC ( [id://814307]=note: print w/replies, xml ) | Need Help?? |
What's the advantage of your latter snippet ...
None. In the context of the OP, it's essentially a Stupid Regex Trick. But then, in the same context Update: ikegami nailed the reason why.
In Section
Seekers of Perl Wisdom
|
|