X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=4d53a0d14cdc44c439142b9368e2f884bfcf1a2b;hp=b8cced071b89c7e87de45f84298bef4e6d8f2a51;hb=2f166b9e39b5e6ba1dfdf8b933c3be86f66e6cee;hpb=128a7cee923f95115d4339dc6a29e81275ffbdaf diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index b8cced0..4d53a0d 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -79,6 +79,8 @@ __PACKAGE__->stats_class('Catalyst::Stats'); # Remember to update this in Catalyst::Runtime as well! our $VERSION = '5.80020'; +our $PRETTY_VERSION = $VERSION; + $VERSION = eval $VERSION; sub import { @@ -1144,7 +1146,7 @@ EOF if ( $class->debug ) { my $name = $class->config->{name} || 'Application'; - $class->log->info("$name powered by Catalyst $Catalyst::VERSION"); + $class->log->info("$name powered by Catalyst $Catalyst::PRETTY_VERSION"); } # Make sure that the application class becomes immutable at this point,