Subject: | DateTime::Util::Astro::Common - CPANPLUS cannot identify version |
Date: | Fri, 27 Jul 2007 23:20:38 -0700 |
To: | bug-DateTime-Util-Astro [...] rt.cpan.org |
From: | Jonathan Leffler <jleffler [...] earthlink.net> |
When I have DateTime::Util::Astro 0.11001 installed, CPANPLUS claims:
CPAN Terminal> o
[...]
6 Unparsable 0.02 DateTime::Util::Astro::Common
DMAKI
[...]
When I look at the code in Common.pm, I see:
# $Id:
/local/datetime/modules/DateTime-Util-Astro/trunk/lib/DateTime/Util/Astro/Common.pm
11785 2007-05-29T22:28:00.218926Z daisuke $
#
# Copyright (c) 2004-2007 Daisuke Maki <daisuke@endeworks.jp>
#
# Please see file "LICENSE" for license information on code from
# "Calendrical Calculations".
package DateTime::Util::Astro::Common;
use strict;
use warnings;
use vars qw($VERSION @EXPORT_OK);
use Exporter;
use DateTime::Util::Astro;
BEGIN
{
*import = \&Exporter::import;
$VERSION = $DateTime::Util::Astro::VERSION;
I understand what that does at run-time, but that version number is also
used by CPAN and CPANPLUS, and the chosen format leads to trouble.
Please can you set a numeric or other literal value in this file so that
CPANPLUS does not have problems. (I carelessly reinstalled the last
version of DateTime::Util::Astro::Common that has a parseable version
number, and that is part of DateTime::Util::Astro 0.08, and that leads
to all sorts of other problems.
Thanks.
--
Jonathan Leffler (jleffler@earthlink.net) #include <disclaimer.h>
Guardian of DBD::Informix v2007.0226 -- http://dbi.perl.org/