Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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.

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.

    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 meditating upon the Monastery: (7)
As of 2016-06-25 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.