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

Re: ActiveState Perl: Forward or Backward Slash?

by polypompholyx (Chaplain)
on Sep 20, 2005 at 09:51 UTC ( [id://493390]=note: print w/replies, xml ) Need Help??


in reply to ActiveState Perl: Forward or Backward Slash?

Just to make it even more confusing, you can happily mix up backslashes and forward slashes within Perl...

print "Yes\n" if -e "C:\\WINNT/System32\\cmd.exe";

Yes

Although, as other posters have said, running system with anything other than pure backslashes is likely not to work.

Replies are listed 'Best First'.
Re^2: ActiveState Perl: Forward or Backward Slash?
by ww (Archbishop) on Sep 20, 2005 at 12:41 UTC
    uhmmm, er...

          "...can happily mix...."

    Slap_happily?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-24 05:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found