Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: heredoc within a delimited construct

by jwkrahn (Monsignor)
on Feb 19, 2013 at 03:42 UTC ( #1019431=note: print w/replies, xml ) Need Help??


in reply to heredoc within a delimited construct

Does it mean the same as this?

s/this/the other\nthatmore /eg;

No, it is the same as this:

s/this/the other\nthatmore /g;

The /e option is only needed for the concatenation operator to work.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019431]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2016-12-04 11:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (64 votes). Check out past polls.