Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: perl: we package API -- oneliner

by haukex (Chancellor)
on Dec 14, 2018 at 13:10 UTC ( #1227251=note: print w/replies, xml ) Need Help??


in reply to Re: perl: we package API -- oneliner
in thread perl: we package API -- oneliner

Or just use escapes, or if it's about passing something from the shell to Perl, the -s option...

$ perl -sle 'print qq{\047\x27$x}' -- -x="'" ''' $ FOO='`()/~?*+#"@$%&'"'"; perl -sle 'print $x' -- -x="$FOO" `()/~?*+#"@$%&'

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2019-09-19 10:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (242 votes). Check out past polls.

    Notices?