Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • You could always do what Class::DBI [] does:
    use version; $VERSION = qv('3.0.8');

    This is slightly ugly, but will work.


  • The 'old' CPAN indexer treated a version number like x.y.z as x.y, effectively chopping off the 'z'... so z and z+1 or for that matter z-1 all ended up as the same version in the indexes, and would be perpetually marked as 'up to date' until the minor version (y) got upped.

    Andreas is working on a change to the indexer that will use to translate x.y.z to a float that can be , but it's not there yet. Until then, I agree with the poster -- do not use x.y.z versions unless you *absolutely* must,