Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Escaping characters in one-liners

by gam3 (Curate)
on Mar 12, 2005 at 18:33 UTC ( #438970=note: print w/ replies, xml ) Need Help??


in reply to Escaping characters in one-liners

I Think this shows the general solutions.

perl -e 'printf( qq(%s\n"), q("This is a string @#$%^%&*/\\) . q[()] . chr(047) . qq("))'
A picture is worth a thousand words, but takes 200K.


Comment on Re: Escaping characters in one-liners
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2015-07-06 02:11 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 (69 votes), past polls