Subject: | Shadowed By the Core Version |
Dear Sébastien Aperghis-Tramoni,
Hi. This is imacat from Taiwan. I found that your constant-1.11
was shadowed from the core constant 1.05 supplied by Perl 5.8.8.
imacat@rinse ~ % find /opt/perl/5.8.8/ -name constant.pm
/opt/perl/5.8.8/lib/5.8.8/constant.pm
/opt/perl/5.8.8/lib/site_perl/5.8.8/constant.pm
imacat@rinse ~ % grep '$VERSION = '
/opt/perl/5.8.8/lib/5.8.8/constant.pm
/opt/perl/5.8.8/lib/site_perl/5.8.8/constant.pm
/opt/perl/5.8.8/lib/5.8.8/constant.pm:$VERSION = '1.05';
/opt/perl/5.8.8/lib/site_perl/5.8.8/constant.pm:$VERSION = '1.11';
imacat@rinse ~ % /opt/perl/5.8.8/bin/perl -mconstant -e'print
$constant::VERSION;'; echo
1.05
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: | constant-1.11-installdirs.diff |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
diff -u -r constant-1.11.orig/Makefile.PL constant-1.11/Makefile.PL
- --- constant-1.11.orig/Makefile.PL 2007-09-25 16:48:32.000000000 +0800
+++ constant-1.11/Makefile.PL 2007-11-04 17:11:36.000000000 +0800
@@ -15,6 +15,7 @@
ABSTRACT_FROM => 'lib/constant.pm',
PL_FILES => {},
PREREQ_PM => \%prereq,
+ INSTALLDIRS => ($] >= 5.008001 ? 'perl' : 'site'),
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'constant-*' },
);
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHLY3gi9gubzC5S1wRAiEmAJ9nRZijlCBmWd+1QOZ40AzoezZAEACgiTlF
16NiVFqwsMqyfXxvI8t+Uh0=
=GyMt
-----END PGP SIGNATURE-----