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

New File::Spec snapshot 0.85_01 on CPAN

Thread Next
From:
Ken Williams
Date:
September 11, 2003 14:15
Subject:
New File::Spec snapshot 0.85_01 on CPAN
Message ID:
02880B89-E49D-11D7-BD89-003065F6D85A@mathforum.org
Hi,

I just released File::Spec 0.85_01 to CPAN.  Changes since 0.85 are as 
follows:

  - The t/rel2abs2rel.t test now is a little friendlier about emitting
    its diagnostic debugging output. [Jarkko Hietaniemi]

  - We now only require() Cwd when it's needed, on demand. [Michael
    Schwern, Tels]

  - Fixed some POD errors and redundancies in OS2.pm and Cygwin.pm.
    [Michael Schwern]

  - The internal method cwd() has been renamed to _cwd(), since it was
    never meant for public use. [Michael Schwern]

  - Several methods in File::Spec::Unix that just return constant
    strings have been sped up.  catdir() has also been sped up there.
    [Tels]

  - Several canonpath() and catdir() bugs on Win32 have been fixed, and
    tests added for them:
       catdir('/', '../')   -> '\\'     (was '\..')
       catdir('/', '..\\')  -> '\\      (was '')
       canonpath('\\../')   -> '\\'     (was '')
       canonpath('\\..\\')  -> '\\'     (was '')
       canonpath('/../')    -> '\\'     (was '\..')
       canonpath('/..\\')   -> '\\'     (was '')
       catdir('\\', 'foo')  -> '\foo'   (was '\\foo')

  - catpath($volume, $dirs, $file) on Mac OS now ignores any volume
    that might be part of $dirs, enabling catpath($volume,
    catdir(rootdir(), 'foo'), '') to work portably across platforms.



The next thing to tackle is to make abs2rel($path, $base) consistent 
across platforms that have volumes, so that it returns $path if the 
volumes of $path and $base differ, rather than returning garbage.  That 
will come in a 0.85_02 snapshot, and then we should be close to what's 
destined for inclusion in perl 5.8.1.

  -Ken


Thread Next


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