develooper Front page | perl.perl5.porters | Postings from April 2006

Re: Underscores in version numbers?

From:
Jerry D. Hedden
Date:
April 4, 2006 16:54
Subject:
Re: Underscores in version numbers?
Message ID:
20060404165415.fb30e530d17747c2b054d625b8945d88.47b184aea6.wbe@email.secureserver.net
Jan Dubois wrote:
> -our $VERSION = '1.18';
> +our $VERSION = '1.18_01';

John Peacock replied:
>     $VERSION = eval ($VERSION);
> will prevent the warning.

I'll add this in the next (4th) patch for threads module.

One question though:  Should this be all on one line:
    our $VERSION = '1.21_01';  $VERSION = eval ($VERSION);
or two:
    our $VERSION = '1.21_01';
    $VERSION = eval ($VERSION);
so as to keep CPAN, ExtUtils::MakeMaker, etc. happy?




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About