NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

## All the Perl that's Practical to Extract and Report

#### ishigaki (7238)

ishigaki
(email not shown publicly)
http://ppm.tcool.org/

### Comment:Path::Extended (Score 1)on 2010.01.03 10:15

by ishigaki on 2010.01.03 10:15 (#71471)
Attached to: CPAN's Greatest Hits - Path::Class

Path::Class may be a nightmare while testing modules under Win32, as it uses a native path separator, which is good sometimes but breaks tests if the author of the tests just compares a Path::Class object stringification with a path separated by forward slashes like this:

my $file = file('foo/bar'); like$file => qr|foo/bar|; # not ok for Win32 as \$file becomes "foo\bar" there.

I'd rather recommend Path::Extended (or Path::Extended::Class if you prefer), which has almost the same API but always uses a forward slash as a path separator.