From: Marcus Ramberg Date: Tue, 25 Oct 2005 22:48:15 +0000 (+0000) Subject: prepare for _02... X-Git-Tag: 5.7099_04~1103 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=bf88a181c5597bad9ab0952cf7966bf76ebf6c66;hp=bd357f391bf8e0df526773dc2555127f1cc9e331 prepare for _02... added pod for ->version --- diff --git a/Changes b/Changes index 3412c6a..957cf3c 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,6 @@ Tis file documents the revision history for Perl extension Catalyst. -5.50 +5.49_02 2005-10-26 12:39:00 - Whole new dispatcher! - Added index action - Added path_to method diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 6824461..df3495a 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -43,9 +43,7 @@ our $CATALYST_SCRIPT_GEN = 8; __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