Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: eval $VERSION in modules?

by Khen1950fx (Canon)
on Jan 05, 2010 at 06:40 UTC ( #815698=note: print w/replies, xml ) Need Help??


in reply to eval $VERSION in modules?

Here's an excellent article by xdg that will help clear things up: version-numbers-should-be-boring.

Update: I just noticed where your confusion might be originating

our $VERSION = '0.08'; $Version = eval $VERSION;
"0.08' doesn't fit in here. Using xdg's example:
our $VERSION = '0.001_001'; $VERSION = eval $VERSION;
It's the "decimal alpha version" or the numbers used by "developer releases". Those releases must use decimal alpha to keep from reporting the wrong module version number.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2023-03-20 09:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?