X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FBase.pm;h=94a0f9883c9aea15560e54fb46e7b158837b8c07;hb=6f4e1683d466d0123cc7507b29a55b474ddca594;hp=7da4dbce0c16eb81215012388bc4fbc880520876;hpb=fc7ec1d96ee55d1bf42af3abce155ecb717b9e2b;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Base.pm b/lib/Catalyst/Base.pm index 7da4dbc..94a0f98 100644 --- a/lib/Catalyst/Base.pm +++ b/lib/Catalyst/Base.pm @@ -48,7 +48,11 @@ This is the universal base class for Catalyst components It provides you with a generic new() for instantiation through Catalyst's component loader with config() support and a process() method placeholder. -=head2 METHODS +=head1 METHODS + +=over 4 + +=item new($c) =cut @@ -57,7 +61,14 @@ sub new { return $self->NEXT::new( $self->config ); } -=head3 config +# remember to leave blank lines between the consecutive =item's +# otherwise the pod tools don't recognize the subsequent =items + +=item $c->config + +=item $c->config($hashref) + +=item $c->config($key, $value, ...) =cut @@ -73,12 +84,14 @@ sub config { return $self->_config; } -=head3 process +=item $c->process() =cut sub process { 1 } +=back + =head1 SEE ALSO L.