There's more than one way to do things | |
PerlMonks |
Re^3: Perl odditiesby Anonymous Monk |
on Mar 02, 2005 at 13:38 UTC ( [id://435818]=note: print w/replies, xml ) | Need Help?? |
Often you can just assign the results of the match.
But not if you use /g, as /g acts quite differently in scalar and in list context.
In Section
Meditations
|
|