Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Using regex in Map functionby pKai (Priest) |
on May 02, 2007 at 21:21 UTC ( [id://613271]=note: print w/replies, xml ) | Need Help?? |
or, even better, thisThat may be subject to judgement. While your 1st and 3rd variant append behind the line-ending newline, the 2nd is probably closer to what the OP wanted, since $ is matching before that newline.
In Section
Seekers of Perl Wisdom
|
|