Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
more useful options
 
PerlMonks  

Re: File::Find uses '/' in path on Win32 system.

by BeernuT (Pilgrim)
on Mar 10, 2002 at 01:29 UTC ( [id://150678]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to File::Find uses '/' in path on Win32 system.

On win* you can use '/' in perl instead of having to use '\' or sometimes '\\' to denote a directory.

UPDATE: i missed what you were getting at. As far as using s!/!\\!g; should be ok for say outputting a list of files to a txt file for later retrieval by another program. But as far as perl is concerned there shouldnt be a problem using '/' instead of '\'.

sorry for the confusion

-bn
  • Comment on Re: File::Find uses '/' in path on Win32 system.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://150678]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.