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

Re: Platform independant directory separator

by Crian (Curate)
on Mar 01, 2004 at 12:33 UTC ( [id://332878]=note: print w/replies, xml ) Need Help??


in reply to Platform independant directory separator

I searched for a special perl var for your purpose without success.

Perhaps the following fact will help you(?):

You can use slash (in the most cases) as directory seperator under Windows systems too.

But beside Unix/Linux and Windows I don't know what seperators are in use and if slash could be also used.
  • Comment on Re: Platform independant directory separator

Replies are listed 'Best First'.
Re: Re: Platform independant directory separator
by inman (Curate) on Mar 01, 2004 at 18:17 UTC
    What you actually mean is that the file system operations that Perl give you have had an inline tr!/!\\! added during the port to windows so that scripts written for UNIX will run OK. External commands only respect the backslash.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-24 21:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found