Subject: | Shadowed By the Core Version |
Dear Steve Peters,
Hi. This is imacat from Taiwan. I found that your Net-Ping-2.33
was shadowed from the core Net::Ping 2.31 supplied by Perl 5.8.8.
imacat@rinse ~ % find /opt/perl/5.8.8/ -name Ping.pm
/opt/perl/5.8.8/lib/5.8.8/Net/Ping.pm
/opt/perl/5.8.8/lib/site_perl/5.8.8/Net/Ping.pm
imacat@rinse ~ % grep '$VERSION = '
/opt/perl/5.8.8/lib/5.8.8/Net/Ping.pm
/opt/perl/5.8.8/lib/site_perl/5.8.8/Net/Ping.pm
/opt/perl/5.8.8/lib/5.8.8/Net/Ping.pm:$VERSION = "2.31";
/opt/perl/5.8.8/lib/site_perl/5.8.8/Net/Ping.pm:$VERSION = "2.33";
imacat@rinse ~ % /opt/perl/5.8.8/bin/perl -mNet::Ping -e'print
$Net::Ping::VERSION;'; echo
2.31
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: | Net-Ping-2.33-installdirs.diff |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
diff -u -r Net-Ping-2.33.orig/Makefile.PL Net-Ping-2.33/Makefile.PL
- --- Net-Ping-2.33.orig/Makefile.PL 2007-07-31 10:36:18.000000000 +0800
+++ Net-Ping-2.33/Makefile.PL 2007-11-04 17:39:08.000000000 +0800
@@ -11,6 +11,7 @@
PREREQ_PM => {
'Test' => 0,
},
+ INSTALLDIRS => ($] >= 5.008001 ? 'perl' : 'site'),
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Net-Ping-*' },
);
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHLZOti9gubzC5S1wRAiBgAJ9vXdBqBxbT5QucY3TESRHLbddofQCfY7Kj
A58Q56Gl3ev1YtMoTjLrfcs=
=7PRR
-----END PGP SIGNATURE-----