From: Florian Ragwitz Date: Mon, 29 Mar 2010 16:09:05 +0000 (+0000) Subject: Remove $VERSION hacks. X-Git-Tag: 5.80023~27 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=30156c599c664a8118f8d337c36fa026fe53e063 Remove $VERSION hacks. For future dev releases we'll just use "-TRIAL" in the dist name. --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 13b975f..8949d17 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -79,9 +79,6 @@ __PACKAGE__->stats_class('Catalyst::Stats'); # Remember to update this in Catalyst::Runtime as well! our $VERSION = '5.80022'; -our $PRETTY_VERSION = $VERSION; - -$VERSION = eval $VERSION; sub import { my ( $class, @arguments ) = @_; @@ -1162,7 +1159,7 @@ EOF if ( $class->debug ) { my $name = $class->config->{name} || 'Application'; - $class->log->info("$name powered by Catalyst $Catalyst::PRETTY_VERSION"); + $class->log->info("$name powered by Catalyst $Catalyst::VERSION"); } # Make sure that the application class becomes immutable at this point, diff --git a/lib/Catalyst/Runtime.pm b/lib/Catalyst/Runtime.pm index ab0c30d..f9853ec 100644 --- a/lib/Catalyst/Runtime.pm +++ b/lib/Catalyst/Runtime.pm @@ -9,8 +9,6 @@ BEGIN { require 5.008004; } our $VERSION='5.80022'; -$VERSION = eval $VERSION; - =head1 NAME Catalyst::Runtime - The Catalyst Framework Runtime