cpan Path-Class 0.17

latest releases: 2.232012, 0.1.11, 0.5...
14 years ago
  • dir(undef) now returns undef rather than the rootdir, because undef
    was probably a mistake by the caller, and the rootdir is too scary
    a default. [Suggested by John Goulah]

  • Temporary files during testing are now created in the system temp
    directory, rather than somewhere in t/ . See RT #31382. [Suggested
    by Alex Page]

  • Added is_relative() as the obvious complement to the existing
    is_absolute() method.

  • Added a resolve() method to clean up paths much more thoroughly
    than cleanup(), e.g. resolving symlinks, collapsing foo/../bar
    sections, etc. [Suggested by David Garamond]

  • Fixed a problem in which a file/directory called "0" or "0.0" would
    end a loop prematurely when using the idiom 'while($x =
    $dir->next) {...}'. See http://rt.cpan.org/Ticket/Display.html?id=29374
    [Spotted by Daniel Lo]

  • Fixed an exists($array[$i]) that prevented compatibility with perl
    5.005.

  • Moved the repository from my personal CVS repo to Google Code.

Don't miss a new Path-Class release

NewReleases is sending notifications on new releases.