Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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
Re^3: module version numbers
by syphilis (Canon) on Jul 16, 2009 at 02:17 UTC
    Excellent ... nothing for me to worry about :-)
    Thanks for clarifying.

    Cheers,
    Rob

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-09-15 11:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (147 votes), past polls