[Catalyst] dbic models and startup time server

Jonathan Rockway jon at jrock.us
Tue Aug 22 19:58:13 CEST 2006

More CPAN trivia.

The generally-regarded-as-safe way to determine the version of a Module
(as per EUMM, anyway) is:

perl -MModule -e 'print Module->VERSION';

VERSION is provided by UNIVERSAL, so it will always work (even if the
module picked an odd way of declaring its version).  Of course, it could
be overriding VERSION, but hopefully it's not. There isn't actually a
way to get it right every time, but this is the best :)

There was a long discussion about this on perl-qa about a month ago, if
you're interested :)

> What does 
>    perl -e 'use Algorithm::C3; print $Algorithm::C3::VERSION'
> say? 

Jonathan Rockway

More information about the Catalyst mailing list