On Wed, 31 Oct 2001 19:07:48 -0500
Kirrily Robert <[EMAIL PROTECTED]> wrote:

> >Has this already been done?
> >       Pod::Constants - Include constants from POD
> I don't know, but will it solve the eternal $VERSION problem?

Sure, but you have to work around MakeMaker:

=head2 MODULE RELEASE

$VERSION = 1.05

=cut

use vars qw($VERSION);
use Pod::Constants -trim => 1, 'MODULE RELEASE' => \$VERSION;
BEGIN { $VERSION =~ s/^\$VERSION\s*=\s*// };

Sam

Reply via email to