Subject: | Shadowed By the Core Version |
Dear Matt Sergeant,
Hi. This is imacat from Taiwan. I found that your Time-Piece-1.13
was shadowed from the core Time::Piece 1.12 supplied by Perl 5.10.0.
imacat@rinse ~ % find /opt/perl/5.10.0 -name Piece.pm
/opt/perl/5.10.0/lib/5.10.0/x86_64-linux-thread-multi-ld/Time/Piece.pm
/opt/perl/5.10.0/lib/site_perl/5.10.0/x86_64-linux-thread-multi-ld/Time/Piece.pm
imacat@rinse ~ % grep '$VERSION = '
/opt/perl/5.10.0/lib/5.10.0/x86_64-linux-thread-multi-ld/Time/Piece.pm
/opt/perl/5.10.0/lib/site_perl/5.10.0/x86_64-linux-thread-multi-ld/Time/Piece.pm
/opt/perl/5.10.0/lib/5.10.0/x86_64-linux-thread-multi-ld/Time/Piece.pm:our
$VERSION = '1.12';
/opt/perl/5.10.0/lib/site_perl/5.10.0/x86_64-linux-thread-multi-ld/Time/Piece.pm:our
$VERSION = '1.13';
imacat@rinse ~ % /opt/perl/5.10.0/bin/perl -mTime::Piece -e'print
$Time::Piece::VERSION;'; echo
1.12
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: | Time-Piece-1.13-instdirs.diff |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
diff -u -r Time-Piece-1.13.orig/Makefile.PL Time-Piece-1.13/Makefile.PL
- --- Time-Piece-1.13.orig/Makefile.PL 2008-02-13 08:23:05.000000000 +0800
+++ Time-Piece-1.13/Makefile.PL 2008-03-09 12:20:39.000000000 +0800
@@ -7,4 +7,5 @@
'VERSION_FROM' => 'Piece.pm', # finds $VERSION
'AUTHOR' => 'Matt Sergeant',
'ABSTRACT_FROM' => 'Piece.pm',
+ 'INSTALLDIRS' => $] >= 5.009005 ? 'perl' : 'site',
);
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
iEYEARECAAYFAkfTZcUACgkQi9gubzC5S1w1OgCfUC+7eAyl2JmILWPbRZhri9Wv
9JoAniXsmaQiUHZp6nUaLjqhsNLvtqzU
=XJG6
-----END PGP SIGNATURE-----