X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=9e73489b339cfd540abddda1d2b0d5d95029ec0a;hb=b41ee0975bfd2664027c3f0b0d839cff8fb1aaa2;hp=68244610952a237eda86a367c69654f71802aa18;hpb=4e7aa2ea2c705f39af2cc1cdf7455742d54bd880;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 6824461..9e73489 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -38,14 +38,12 @@ our $DETACH = "catalyst_detach\n"; require Module::Pluggable::Fast; # Helper script generation -our $CATALYST_SCRIPT_GEN = 8; +our $CATALYST_SCRIPT_GEN = 9; __PACKAGE__->mk_classdata($_) for qw/components arguments dispatcher engine log/; -our $VERSION = '5.49_01'; - -sub version { return $Catalyst::VERSION } +our $VERSION = '5.49_02'; sub import { my ( $class, @arguments ) = @_; @@ -1553,6 +1551,15 @@ sub write { return $c->engine->write( $c, @_ ); } +=item version + +Returns the Catalyst version number. mostly useful for powered by messages +in template systems. + +=cut + +sub version { return $Catalyst::VERSION } + =back =head1 CASE SENSITIVITY