Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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?
[choroba]: fortunately, I haven't the need to verify this
[choroba]: haven't had
[choroba]: but most tourist here are form the US, France, and Russia
[Your Mother]: The best whiskey in Thailand is Vietnamese, is all I know.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-02-26 04:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (371 votes). Check out past polls.