Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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.


Comment on Re: heredoc within a delimited construct
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2015-07-03 17:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (54 votes), past polls