Path-Class reviews

cpanratings
 

RSS | Module Info | Add a review of Path-Class

Path-Class (0.26) *****

If you need to work with files (and who doesn't?!) then you want to use this Path-Class. End of story.

Well, not quite end of story. You may also want to check out Path-Class-Rule.

Toby Inkster - 2012-07-22T16:15:37 (permalink)

Was this review helpful to you?  Yes No

Path-Class (0.25) *****

Path::Class has become one of the core tools that I use every day. I really don't do any filesystem stuff now without Path::Class. It simplifies code greatly. In my experience code written with path class is 50% smaller than code written without and, as we all know, less code = less bugs.

The API just makes sense, and the author is very receptive to contributions and discussion. Just the other day I worked with him (on github) to add the spew() method.

Aran Deltac - 2012-03-24T10:04:46 (permalink)

2 out of 2 found this review helpful. Was this review helpful to you?  Yes No

Path-Class (0.23) *****

2009-01-20 - I just found this module and I love it. I'm a bit concern with importing functions named "dir" and "file". But, I just import what I need. use Path::Class qw{file}; -mrdvt92

2011-02-16 - Two years later and still one of the best tools in the CPAN! - mrdvt92

Michael R. Davis - 2009-01-20T21:33:11 (permalink)

2 out of 2 found this review helpful. Was this review helpful to you?  Yes No

Path-Class (0.16) ****

This is an excellent platform-independent layer over File::Spec.

One (minor) downside is that it doesn't seem to have a way to update objects. So instead one must do something like $path = $path->parent. (This is fine if you don't want side effects, but then why are you programing in Perl?)

Other minor annoyances: (1) a method to extract file extensions (2) untaining.

Robert Rothenberg - 2009-01-04T12:52:39 (permalink)

3 out of 3 found this review helpful. Was this review helpful to you?  Yes No

Path-Class (0.16) *****

Path::Class is fastly becoming a core part of my toolkit, its much nicer then what I used to use (File::Spec::Functions) but yet inherits all the stability and cross-platform knowledge from File::Spec. Excellent module, highly recommened.

Stevan Little - 2007-11-28T12:33:27 (permalink)

5 out of 5 found this review helpful. Was this review helpful to you?  Yes No

Path-Class (0.16) *****

Paths naturally suit an object-oriented interface, and Path::Class gets that interface just right. All common path operations are supported, and having manipulated things to get the required path there are nifty methods for opening it (for reading or writing, throwing an error automatically) or for slurping it all in at once (with optional chomping).

It's so good that I've standardized on it for absolutely everything relating to paths.

Also, its author has been tremendously responsive in accepting patches and adding in new features when I've suggested ways of making the module even easier to use.

Smylers - 2007-07-01T00:22:31 (permalink)

5 out of 5 found this review helpful. Was this review helpful to you?  Yes No

Path-Class (0.15) *****

An excellent module that's much easier to use than File::Spec for manipulating paths. For example, you can do things like C<< $file->relative($src)->absolute($htdocs)->relative >> which aren't as trivial with other modules.

It's also well documented, and provides some extra handy methods such as recurse and mkpath.

Benjamin Smith - 2006-12-24T12:17:26 (permalink)

5 out of 6 found this review helpful. Was this review helpful to you?  Yes No

Path-Class (0.13) *****

A fantastic module that needs to be more widely known. Portable path handling has been a tricky task, but this module "makes easy things easy and hard things possible".

David Golden - 2005-11-07T12:30:36 (permalink)

6 out of 6 found this review helpful. Was this review helpful to you?  Yes No

Path-Class (0.03) *****

Path handling was an orphaned issue until this module arrived. Good candidate to take this pain with File::Spec from all of us.

muenalan - 2004-01-01T15:14:01 (permalink)

5 out of 5 found this review helpful. Was this review helpful to you?  Yes No

Path-Class (0.03) *****

This is a very cool module. File::Spec purports to provide filesystem-agnostic path/filename manipulations, but using it properly is hard, and the interface is just bad, filled with awkward, way too UNIX-y method names (catdir, catfile).

Path::Class hides the hard to use parts of File::Spec and provides a nice, simple, _clean_ interface on top of it.

Dave Rolsky - 2003-09-05T18:38:13 (permalink)

5 out of 5 found this review helpful. Was this review helpful to you?  Yes No

Path-Class (0.03)

The documentation is simple and to the point, and the interface is much nicer than File::Spec's. I look forward to use it in my future projects.

Audrey Tang - 2003-09-04T01:13:56 (permalink)

7 out of 7 found this review helpful. Was this review helpful to you?  Yes No
1 hidden unhelpful review