Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Backslashes in command arguements

by Joost (Canon)
on Feb 26, 2007 at 17:07 UTC ( [id://602172]=note: print w/replies, xml ) Need Help??


in reply to Backslashes in command arguements

perl is parsing the backslashes correctly; backslashes are used as an escape character in string literals. You need 2 backslashes for each backslash in the resulting string.

print "\\\n"; # prints a \ and a newline print "\\\\hostname" # prints \\hostname

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2026-03-08 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.