Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Backslashes in command arguements

by ikegami (Patriarch)
on Feb 26, 2007 at 17:24 UTC ( [id://602176]=note: print w/replies, xml ) Need Help??


in reply to Re: Backslashes in command arguements
in thread Backslashes in command arguements

Your double backslash on the command line ("foo.pl \\hostname") may be converted to a single backslash when Perl gets it

No.

>perl -e "print $ARGV[0]" \\hostname \\hostname

If there's a slash missing, it was removed *before* Perl got it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2026-04-12 06:45 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.