Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: special character substitution

by AnomalousMonk (Canon)
on Jun 10, 2013 at 22:08 UTC ( #1038166=note: print w/replies, xml ) Need Help??

in reply to special character substitution

Also, using  ' (single-quote) as a delimiter for either or both of the substitution pattern or replacement string of a  s/// will force the use of single-quotish (non-)interpolation and escapology.

>perl -wMstrict -le "$_ = 'T}@T...T}@T{'; s'T}@T.*T}@T{'\(bu'sm; print qq{'$_'}; " '\(bu'

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038166]
[LanX]: met a Canadian yesterday, he suggested building a wall and let the US pay for it
[choroba]: No, but lots of pictures of the Agent Orange victims, plus some deformed foeti
[LanX]: ugh
[choroba]: also, seeing communist propaganda I remember from my childhood... very strange experience

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2017-02-26 04:43 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (371 votes). Check out past polls.