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:47:47.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)
iD8DBQFHLZVOi9gubzC5S1wRAuVSAJ4umIIQtBzL+5rdoV46+NMFLV3itQCbBrV8
jSdtDo2VMDbZrTH4Ej7jTz0=
=dJR1
-----END PGP SIGNATURE-----