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

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

by arc_of_descent (Hermit)
on Jan 04, 2006 at 11:48 UTC ( #520854=note: print w/replies, xml ) Need Help??


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

In Problem with CPAN and module version numbers, TheDamian mentions that the PAUSE indexer does not handle the version module correctly, so I'm not sure if its changed now. The VERSION variable in my module was set as

our $VERSION = "0.0.3";

--
Rohan

Replies are listed 'Best First'.
Re^3: Can't use three part version number for CPAN modules
by adrianh (Chancellor) on Jan 04, 2006 at 12:17 UTC
    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://520854]
help
Chatterbox?
and the web crawler heard nothing...

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