Skip Menu |

This queue is for tickets about the Net-Ping CPAN distribution.

Report information
The Basics
Id: 30461
Status: resolved
Priority: 0/
Queue: Net-Ping

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.33
Fixed in: (no value)



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-----
From: SMPETERS [...] cpan.org
On Sun Nov 04 04:46:23 2007, IMACAT wrote: Show quoted text
> 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.
Thanks. I modified your patch since Net::Ping has been part of every Perl 5 release. The changes will be in the 2.34 release.
From: imacat [...] mail.imacat.idv.tw
On 2007-12-19 22:04:49 星期三, SMPETERS wrote: Show quoted text
> On Sun Nov 04 04:46:23 2007, IMACAT wrote:
> > 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.
Show quoted text
> Thanks. I modified your patch since Net::Ping has been part of every > Perl 5 release. The > changes will be in the 2.34 release.
Dear Steve Peters, Hi. This is imacat from Taiwan. Did I miss something? I did not see this change in the 3.24 release. Maybe you missed it? http://search.cpan.org/src/SMPETERS/Net-Ping-2.34/Makefile.PL
On 2007-12-20 00:33:31 星期四, IMACAT wrote: Show quoted text
> On 2007-12-19 22:04:49 星期三, SMPETERS wrote:
> > On Sun Nov 04 04:46:23 2007, IMACAT wrote:
> Hi. This is imacat from Taiwan. Did I miss something? I did not > see this change in the 3.24 release. Maybe you missed it?
I'm very sorry. This is my mistake. You did fixed it, and I missed it. Sorry for the bothering.
Subject: Re: [rt.cpan.org #30461] Shadowed By the Core Version
Date: Thu, 20 Dec 2007 08:05:54 -0600
To: bug-Net-Ping [...] rt.cpan.org
From: "Steve Peters" <steve [...] fisharerojo.org>
INSTALLDIRS is there.... use strict; use warnings; use ExtUtils::MakeMaker; WriteMakefile( NAME => 'Net::Ping', AUTHOR => 'Steve Peters <steve@fisharerojo.org>', VERSION_FROM => 'lib/Net/Ping.pm', ABSTRACT_FROM => 'lib/Net/Ping.pm', PL_FILES => {}, PREREQ_PM => { 'Test' => 0, }, INSTALLDIRS => 'perl', dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, clean => { FILES => 'Net-Ping-*' }, ); On Dec 19, 2007 11:43 PM, Yi Ma Mao via RT <bug-Net-Ping@rt.cpan.org> wrote: Show quoted text
>
From: imacat [...] mail.imacat.idv.tw
在 2007-12-20 09:06:17 Thu, steve@fisharerojo.org 寫到: Show quoted text
> INSTALLDIRS is there.... > INSTALLDIRS => 'perl',
Yes, I saw that. As I said, this is purely my mistake, and I'm verry sorry for this bothering. This bug is indeed solved. Please close this bug again. Thank you.