1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
|
Revision history for Perl extension Path::Class.
0.15 Thu Dec 15 20:11:38 CST 2005
- Fixed an important edge case in subsumes() - subsumes('/', '/foo')
(and its equivalent on other platforms) was returning false, but
should have been true. [Reported by Chia-liang Kao]
0.14 Thu Nov 17 22:16:13 CST 2005
- Silence a warning caused by $dir1->subsumes($dir2) when $dir2
subsumes $dir1. [Chia-liang Kao]
- Work around a File::Spec->abs2rel bug when its two arguments are
the same. It returns an empty string rather than curdir(), so in
Path::Class, dir()->absolute->relative returned '/' rather than '.'
(or their equivalent on non-unix platforms. [Spotted by David Golden]
0.13 Mon Aug 22 22:36:15 CDT 2005
- Added a recurse() method to Path::Class::Dir, which provides a nice
alternative to using File::Find.
- Added a children() method to Path::Class::Dir, which returns the
entries of a directory as Path::Class objects.
- Added touch() to Path::Class::File.
0.12 Tue Jun 28 16:27:38 EDT 2005
- You can now chomp while you slurp. [Suggested by Smylers]
- Added some notes about how to use Path::Class in a cross-platform
way.
- Added a remove() method for both files and directories.
- Added a subsumes() method to Path::Class::Dir.
- We now require File::Spec version 0.87 (previously we required
0.86), because it fixes a few important bugs.
- Fixed some VMS testing bugs. [Abe Timmerman]
- Corrected a couple typos in the documentation for Path::Class::File
where it mistakenly listed the package as Path::Class::Dir. [Ron
Savage]
0.11 Mon May 16 20:06:38 CDT 2005
- Fixed a documentation bug in Path::Class::File - open() calls
IO::File->new(), not IO::File->open(). [Smylers]
- Improved the semantics for dir_list() in a scalar context. It now
has a much higher DWIM coefficient. [Suggested by Smylers]
- Added the stat() and lstat() methods to the Path::Class::Dir class;
previously they were only in the Path::Class::File class.
[Suggested by Smylers]
- We now require at least version 0.87 of File::Spec, rather than
0.86, because 0.87 fixed some bugs and idiosyncracies in how Windows
path names are handled. [Chris Dolan]
0.10 Wed Apr 6 17:04:45 CDT 2005
- Fixed a bug in relative() that would ignore the optional argument
if the given file/dir was already specified as relative.
- Fixed a typo in the documentation - I wrote Path::Class::mkdir()
and Path::Class::rmtree() where I meant File::Path::mkdir() and
File::Path::rmtree().
0.09 Tue Apr 5 20:42:20 CDT 2005
- Added the dir_list() method, which gives the user direct access to
the list of directories that makes up a Path::Class::Dir object
(NEEDS DOCUMENTATION). [Suggested by Smylers]
- Documented the behavior of $dir->next() when the directory doesn't
exist or is unreadable (it dies). [Smylers]
- Fixed a bug that could result in extra backslashes between the
volume and path (such as C:\\Foo\Bar). [Smylers]
- Added the is_dir() method, which is a simple way to tell the
difference between a file and a directory. [Suggested by Smylers]
0.08 Tue Dec 28 08:26:56 CST 2004
- Fixed a typo in the module name in the docs. [Chris Dolan]
- Added a copyright statement to the docs, for some reason it was
missing. [Spotted by Chris Dolan]
0.07 Wed Jun 30 15:31:35 CDT 2004
- Fixed a bug in dir("foo/")->parent and
file("foo/bar")->dir. [Spotted by Sterling Hanenkamp]
0.06 Fri Mar 26 22:20:32 CST 2004
- Added documentation for $dir->next(), which was for some reason
missing.
- Simplified a little internal code in $dir->next().
- Added the slurp(), openr(), and openw() methods to
Path::Class::File.
0.05 Mon Jan 19 22:36:29 CST 2004
- Added a parent() method to Path::Class::File, which helps in those
cases where the distinction between a file and a directory isn't
significant. [Paul Hoffman]
- Added a basename() method to Path::Class::File. [Richard Evans]
0.04 Thu Jan 1 22:47:18 CST 2004
- Added several useful methods for interacting with the filesystem,
such as $file->open(), or $dir->mkpath().
- file() and dir() are now exported by default when loading
Path::Class. [Michael Schwern]
- Fixed a problem that happened when interacting with the File::Spec
that comes with perl 5.6.0. Names weren't being stringified
properly. [Michael Schwern]
- Fixed a test failure on Win32 (from line 71 of t/01-basic.t).
[reported by Murat nalan]
- Rewrote general description of Path::Class in the documentation
[suggested by Joshua Keroes]
0.03 Wed Jul 9 09:32:52 CDT 2003
- D'oh! Forgot to add the t/02-foreign.t test to the MANIFEST.
- The way I was faking out File::Spec to pretend it's on a Unix
system during testing wasn't working. [Reported by DH]
0.02 Tue Jul 8 14:51:24 CDT 2003
- Added the capability to work with paths from other systems, see
'foreign' in the docs.
- Now depends on File::Spec::Mac 1.3, since 1.2 was pretty broken.
- relative() and absolute() methods can now take an optional argument
to use as the base of relativity.
0.01 Wed Mar 12 18:17:04 CST 2003
- original version; created by h2xs 1.21 with options
-XA -n Path::Class
|