Re: version-0.77 and You

John Peacock <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.module-build,gmane.comp.lang.perl.perl5.porters
Message-ID <[email protected]>
Gisle Aas wrote:
> I would suggest that you bump the version number of version to 1.00 so 
> that becomes the recommended minimal number instead of an arbitrary 
> number like 0.77; making the recommended invocation:
> 
>    use version 1.00;  $our $VERSION = qw("v1.2.3");

You do know that the above doesn't actually do anything?  Or did you 
mean qv() instead of qw()?

> This still confuses me as I think that:
> 
>     use version 1.00;
> 
> ought to be handy way to declare your own 
> $VERSION, not about requesting a specific version of version.

That was [briefly] considered but was judged to be "too magical" because

1) There is no package global $VERSION visible in the source;

2) Module::Build and EU::MM would have to be upgraded in order to 
understand that they can't just scan the source file any more to get the 
$VERSION.

John
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.