Repost, different list...File::Spec, Cygwin, Syntactic vs. Semantic path analysis
Robert Collins
rbcollins@cygwin.com
Mon Jan 13 03:04:00 GMT 2003
On Mon, 2003-01-06 at 19:30, Elfyn McBratney wrote:
> Although the win32 api supports both one takes more work as paths
> containing forward-slashes are converted to back-slashes*. I know this
> is being petty but if different style paths cause problems surely it
> would make sense to follow the standard the OS follows?
Right, so:
Perl for Cygwin uses "/"
Perl for win32 uses "\" and ":".
Seems pretty straight forward to me.
Cygwin may be 'just a partial posix layer', but if you are compiling for
it, you should use "/" delimited paths.
Rob
--
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030113/09e8d84f/attachment.sig>
More information about the Cygwin
mailing list