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.
[reply]
[d/l]
In Section
Seekers of Perl Wisdom