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

Re: WebPerlizator - automating WebPerl (by haukex) page creation

by haukex (Archbishop)
on Oct 19, 2018 at 12:26 UTC ( [id://1224333]=note: print w/replies, xml ) Need Help??


in reply to WebPerlizator - automating WebPerl (by haukex) page creation

Very nice, thank you!

A note on the quoting of the "command line": The code that parses the command line is currently kind of simplistic. If an argument is surrounded by double quotes, then the only two things inside those quotes that get special treatment are double-backslashes (\\, aka "\\\\"), which produce a single backslash, and \", which produces a double-quote; all other characters, including single quotes, are not touched. The same goes for arguments surrounded by single quotes, where double quotes are not touched. (Update: I've now updated the documentation to describe this.)

So something like perl -e 'print "Foo\'Bar"' is fine, the equivalent Perl script is print "Foo'Bar".

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-23 07:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found