Fri Sep 04 06:50:18 2009martin [...] martinkjeldsen.dk - Ticket created
Subject:
Version support
Date:
Fri, 4 Sep 2009 12:49:16 +0200
To:
bug-Getopt-Euclid [...] rt.cpan.org
From:
Martin Kjeldsen <martin [...] martinkjeldsen.dk>
Hi,
right now Getopt::Euclid takes the version from the POD which is fine and
useful. But in cases where it isn't defined, could it not default to use
$VERSION from the importer if defined?
Best regards
Martin
Sat Sep 05 00:38:59 2009damian [...] conway.org - Correspondence added
Subject:
Re: [rt.cpan.org #49425] Version support
Date:
Sat, 5 Sep 2009 14:38:09 +1000
To:
bug-Getopt-Euclid [...] rt.cpan.org
From:
Damian Conway <damian [...] conway.org>
Show quoted text
> right now Getopt::Euclid takes the version from the POD which is fine and
> useful. But in cases where it isn't defined, could it not default to use
> $VERSION from the importer if defined?
It's not documented, but that's exactly what the current release does.
Damian
Sat Sep 05 00:39:00 2009The RT System itself - Status changed from 'new' to 'open'
Sun Sep 06 11:01:43 2009martin [...] martinkjeldsen.dk - Correspondence added
Whoops, I see, it grabs the $VERSION at compile time, my mistake
Sun Sep 06 11:01:45 2009martin [...] martinkjeldsen.dk - Status changed from 'open' to 'resolved'