Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: special character substitution

by AnomalousMonk (Chancellor)
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038166]
help
Chatterbox?
[huck]: im going to get the APOD https://apod.nasa. gov/apod/ap180425. htmlshiney in today , great pic of jupiter
[huck]: opps typo ... im going to get the APOD shiney in today , great pic of jupiter

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2018-04-25 07:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?