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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1194167855-25425-9"
Content-Length: 0
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 814
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
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_1194167854-25425-8"
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Length: 0
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Type: application/octet-stream; name="constant-1.11-installdirs.diff"
Content-Disposition: inline; filename="constant-1.11-installdirs.diff"
Content-Transfer-Encoding: base64
Content-Length: 750
-----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-----
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
In-Reply-To: <rt-3.6.HEAD-25425-1194167856-434.30460-4-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.752.2)
References: <RT-Ticket-30460 [...] rt.cpan.org> <rt-3.6.HEAD-25425-1194167856-434.30460-4-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"; delsp="yes"; format="flowed"
X-RT-Original-Encoding: ISO-8859-1
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 13B314D80D2 for <bug-Constant [...] rt.cpan.org>; Sun, 4 Nov 2007 08:47:16 -0500 (EST)
Received: (qmail 28168 invoked by alias); 4 Nov 2007 13:47:16 -0000
Received: from sp604005mt.neufgp.fr (HELO smtp.Neuf.fr) (84.96.92.11) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Sun, 04 Nov 2007 05:47:03 -0800
Received: from [192.168.0.100] ([86.69.40.70]) by sp604005mt.gpm.neuf.ld (Sun Java System Messaging Server 6.2-5.05 (built Feb 16 2006)) with ESMTP id <0JQZ00GQTI93P4B0 [...] sp604005mt.gpm.neuf.ld> for bug-Constant [...] rt.cpan.org; Sun, 04 Nov 2007 14:46:20 +0100 (CET)
Delivered-To: cpan-bug+constant [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #30460] Shadowed By the Core Version
Return-Path: <saper [...] cpan.org>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-Constant [...] rt.cpan.org
Date: Sun, 04 Nov 2007 14:46:14 +0100
Message-Id: <64617518-FF73-4B04-95D9-6819F7E0FDAB [...] cpan.org>
To: bug-Constant [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-14421-1194184044-526.30460-0-0 [...] rt.cpan.org>
Content-Length: 720
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.
MIME-Version: 1.0 (Apple Message framework v752.2)
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
In-Reply-To: <rt-3.6.HEAD-25425-1194167856-434.30460-4-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.752.2)
References: <RT-Ticket-30460 [...] rt.cpan.org> <rt-3.6.HEAD-25425-1194167856-434.30460-4-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
X-RT-Original-Encoding: ISO-8859-1
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 8F2944D8013 for <bug-Constant [...] rt.cpan.org>; Tue, 6 Nov 2007 02:59:43 -0500 (EST)
Received: (qmail 7061 invoked by alias); 6 Nov 2007 07:59:42 -0000
Received: from smtp8-g19.free.fr (HELO smtp8-g19.free.fr) (212.27.42.65) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 05 Nov 2007 23:59:40 -0800
Received: from smtp8-g19.free.fr (localhost [127.0.0.1]) by smtp8-g19.free.fr (Postfix) with ESMTP id 31F9317F544 for <bug-Constant [...] rt.cpan.org>; Tue, 6 Nov 2007 08:59:35 +0100 (CET)
Received: from [192.168.1.9] (ant06-1-82-242-109-222.fbx.proxad.net [82.242.109.222]) by smtp8-g19.free.fr (Postfix) with ESMTP id 0FBBB17F543 for <bug-Constant [...] rt.cpan.org>; Tue, 6 Nov 2007 08:59:35 +0100 (CET)
Delivered-To: cpan-bug+constant [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #30460] Shadowed By the Core Version
Return-Path: <saper [...] cpan.org>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-Constant [...] rt.cpan.org
Date: Tue, 6 Nov 2007 08:59:33 +0100
Message-Id: <BBE92883-9C71-44D0-A16E-ED51F942D8DA [...] cpan.org>
To: bug-Constant [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-14421-1194335990-572.30460-0-0 [...] rt.cpan.org>
Content-Length: 152
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.