Skip Menu |

This queue is for tickets about the File-Path CPAN distribution.

Report information
The Basics
Id: 30459
Status: resolved
Priority: 0/
Queue: File-Path

People
Owner: dland [...] cpan.org
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.02
Fixed in: 2.03



Subject: Shadowed By the Core Version
Dear David Landgren, Hi. This is imacat from Taiwan. I found that your File-Path-2.02 was shadowed from the core File::Path 1.08 supplied by Perl 5.8.8. imacat@rinse ~ % find /opt/perl/5.8.8/ -name Path.pm /opt/perl/5.8.8/lib/5.8.8/File/Path.pm /opt/perl/5.8.8/lib/site_perl/5.8.8/File/Path.pm imacat@rinse ~ % grep '$VERSION = ' /opt/perl/5.8.8/lib/5.8.8/File/Path.pm /opt/perl/5.8.8/lib/site_perl/5.8.8/File/Path.pm /opt/perl/5.8.8/lib/5.8.8/File/Path.pm:our $VERSION = "1.08"; /opt/perl/5.8.8/lib/site_perl/5.8.8/File/Path.pm:$VERSION = '2.02'; imacat@rinse ~ % /opt/perl/5.8.8/bin/perl -mFile::Path -e'print $File::Path::VERSION;'; echo 1.08 imacat@rinse ~ % I tried to make a simple patch in the hope that it helps. Please tell me if you need any more information, or if I could be of any help.
Subject: File-Path-2.02-installdirs.diff
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 diff -u -r File-Path-2.02.orig/Makefile.PL File-Path-2.02/Makefile.PL - --- File-Path-2.02.orig/Makefile.PL 2007-10-24 18:13:43.000000000 +0800 +++ File-Path-2.02/Makefile.PL 2007-11-04 16:58:09.000000000 +0800 @@ -30,5 +30,6 @@ clean => { FILES => 'cover_db', }, + INSTALLDIRS => ($] >= 5.008001 ? 'perl' : 'site'), @license, ); -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHLYoqi9gubzC5S1wRAri5AJ4nDR9llD5aX3COyYuH3pZ4EZXjRACfbQ/B bj68uW8PoV133lubmQvcgv4= =Y1JD -----END PGP SIGNATURE-----
From: dland [...] cpan.org
On Sun Nov 04 04:03:30 2007, IMACAT wrote: Show quoted text
> Dear David Landgren, > > Hi. This is imacat from Taiwan. I found that your File-Path-2.02 > was shadowed from the core File::Path 1.08 supplied by Perl 5.8.8.
Hello imacat, Good catch, I confirm that you are correct. I had tested installing on a production machine, but it was running 5.6. The module is indeed shadowed on 5.8. Show quoted text
> imacat@rinse ~ % find /opt/perl/5.8.8/ -name Path.pm > /opt/perl/5.8.8/lib/5.8.8/File/Path.pm > /opt/perl/5.8.8/lib/site_perl/5.8.8/File/Path.pm > imacat@rinse ~ % grep '$VERSION = ' > /opt/perl/5.8.8/lib/5.8.8/File/Path.pm > /opt/perl/5.8.8/lib/site_perl/5.8.8/File/Path.pm > /opt/perl/5.8.8/lib/5.8.8/File/Path.pm:our $VERSION = "1.08"; > /opt/perl/5.8.8/lib/site_perl/5.8.8/File/Path.pm:$VERSION = '2.02'; > imacat@rinse ~ % /opt/perl/5.8.8/bin/perl -mFile::Path -e'print > $File::Path::VERSION;'; echo > 1.08 > imacat@rinse ~ % > > I tried to make a simple patch in the hope that it helps. Please > tell me if you need any more information, or if I could be of any help.
Yes, that looks like it will do the trick nicely. I'll release a 2.03 version ASAP. Thanks, David
On Sun Nov 04 04:03:30 2007, IMACAT wrote: Show quoted text
> Dear David Landgren, > > Hi. This is imacat from Taiwan. I found that your File-Path-2.02 > was shadowed from the core File::Path 1.08 supplied by Perl 5.8.8.
Hellow imacat, thanks for your good work. File-Path-2.03 on CPAN no longer has this problem. Regards, David