Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Constant CPAN distribution.

Report information
The Basics
Id: 30460
Status: resolved
Priority: 0/
Queue: Constant

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

Bug Information
Severity: Normal
Broken in: 1.11
Fixed in: 1.12

Attachments


Subject: Shadowed By the Core Version
Download (untitled) / with headers
text/plain 814b
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-----
Subject: Re: [rt.cpan.org #30460] Shadowed By the Core Version
Date: Sun, 04 Nov 2007 14:46:14 +0100
To: bug-Constant [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Download (untitled) / with headers
text/plain 720b
Show quoted text
> Dear Sébastien Aperghis-Tramoni, > > Hi. This is imacat from Taiwan.
Hello Imacat, Show quoted text
> I found that your constant-1.11 > was shadowed from the core constant 1.05 supplied by Perl 5.8.8.
You're perfectly right. I thought that after the previous dual-life modules I had included this bit in the Makefile.PL, but it appears I forgot. Thanks for spotting this. Show quoted text
> 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.
Nicely thought, but I'll push the version to 5.004 since constant.pm is core since this version of Perl. Thanks for reporting. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Subject: Re: [rt.cpan.org #30460] Shadowed By the Core Version
Date: Tue, 6 Nov 2007 08:59:33 +0100
To: bug-Constant [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Download (untitled) / with headers
text/plain 152b
Should be fixed with constant-1.12, now on the CPAN. Thanks for reporting this bug. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.