develooper Front page | perl.perl5.porters | Postings from September 2003

OS2 and paths?

From:
Ken Williams
Date:
September 11, 2003 15:23
Subject:
OS2 and paths?
Message ID:
953B1AC2-E4A6-11D7-BD89-003065F6D85A@mathforum.org
Hi,

On OS2, should catdir() behave pretty much the same as on Win32?  
File::Spec wants to know.

In particular, should the following all return a single backslash?  
Because right now they ain't doing that.

    catdir('/', '../')
    catdir('/', '..\\')
    catdir('\\', '../')
    catdir('\\', '..\\')


  -Ken




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About