Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Using regex in Map function

by pKai (Priest)
on May 02, 2007 at 21:21 UTC ( [id://613271]=note: print w/replies, xml ) Need Help??


in reply to Re: Using regex in Map function
in thread Using regex in Map function

or, even better, this
That 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://613271]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-23 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found