Subject: | Need to specify File::Path 2.07 as a dependency |
PathTools doesn't install on some older versions of perl because of a missing dependency.
While File::Path is in core, you use the 'make_path' function, which wasn't introduced until version 2.07. That's only in core from perl 5.10.1 onwards (and 5.8.9).
With a shiny new File::Path installed, PathTools passes all its tests and installs just fine, so fixing this should be a simple matter of adding this to the PREREQ_PM hash in Makefile.PL
'File::Path' => 2.07
There's a circular dependency between File::Path and PathTools, but thankfully the versions of File::Spec and Cwd in core seem to be sufficient to satisfy File::Path's dependencies, so being explicit about the dependency shouldn't introduce any problems.