Remove $VERSION hacks.
Florian Ragwitz [Mon, 29 Mar 2010 16:09:05 +0000 (16:09 +0000)]
For future dev releases we'll just use "-TRIAL" in the dist name.

lib/Catalyst.pm
lib/Catalyst/Runtime.pm

index 13b975f..8949d17 100644 (file)
@@ -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,
index ab0c30d..f9853ec 100644 (file)
@@ -9,8 +9,6 @@ BEGIN { require 5.008004; }
 
 our $VERSION='5.80022';
 
-$VERSION = eval $VERSION;
-
 =head1 NAME
 
 Catalyst::Runtime - The Catalyst Framework Runtime