Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 imbibing at the Monastery: (9)
As of 2014-09-30 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (369 votes), past polls