Skip Menu |

This queue is for tickets about the Getopt-Euclid CPAN distribution.

Report information
The Basics
Id: 49425
Status: resolved
Priority: 0/
Queue: Getopt-Euclid

People
Owner: Nobody in particular
Requestors: martin [...] martinkjeldsen.dk
Cc:
AdminCc:

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



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
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
Whoops, I see, it grabs the $VERSION at compile time, my mistake