Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 taking refuge in the Monastery: (5)
As of 2014-07-23 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (131 votes), past polls