Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 musing on the Monastery: (4)
As of 2025-03-27 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (69 votes). Check out past polls.

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.