Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: module version numbers

by ig (Vicar)
on Jul 15, 2009 at 13:40 UTC ( [id://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.

Replies are listed 'Best First'.
Re^3: module version numbers
by syphilis (Archbishop) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://780309]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-25 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found