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 ( #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.


Comment on Re: ActiveState Perl: Forward or Backward Slash?
Select or Download Code
Re^2: ActiveState Perl: Forward or Backward Slash?
by ww (Bishop) 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
Node Status?
node history
Node Type: note [id://493390]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-10-02 11:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (55 votes), past polls