Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^2: module version numbers

by ig (Vicar)
on Jul 15, 2009 at 13:40 UTC ( #780309=note: print w/ replies, xml ) Need Help??

in reply to Re: module version numbers
in thread module version numbers

I don't think versions like:

$My::Module::VERSION = '1.23';

are the deprecated v-strings, despite being strings with version numbers in them. If you put a 'v' at the front, then it might be a v-string and I am more certain that if it was unquoted with a v in front that it would be a bare v-string. So, if I understand correctly, many people consider the following to be bad:

$My::Module::VERSION = v1.23;

On the other hand, see Re: Seeking thoughts on version numbers in modules - maybe v-strings (the magic variety as of 5.8.1) are OK after all. Still, my conclusion is that with so much contention, it is probably safer to use some other form (like what you are using, which is consistent with most of the core modules), at least until the dust settles on v-strings, one way or the other.

Comment on Re^2: module version numbers
Select or Download Code
Replies are listed 'Best First'.
Re^3: module version numbers
by syphilis (Chancellor) on Jul 16, 2009 at 02:17 UTC
    Excellent ... nothing for me to worry about :-)
    Thanks for clarifying.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://780309]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2015-10-10 08:03 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (255 votes), past polls