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

Re^3: Can't use three part version number for CPAN modules

by adrianh (Chancellor)
on Jan 04, 2006 at 12:17 UTC ( #520866=note: print w/replies, xml ) Need Help??


in reply to Re^2: Can't use three part version number for CPAN modules
in thread Can't use three part version number for CPAN modules

our $VERSION = "0.0.3";

If you're following TheDamian's advice you'll want to use the version module instead of a plain string. Something like:

use version; our $VERSION = qv( '0.0.0' );

and adding version to your modules prerequisites. NOTE: it's important to keep the use version on the same line since many modules grep out the line with $VERSION and eval it to get the version number out.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2021-01-17 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?