Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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
Replies are listed 'Best First'.
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 romping around the Monastery: (6)
As of 2015-07-08 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls