X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=31434ee1596662676145f2fedaca4407b207aacc;hp=1b3af91a2d66f2829cb4133b1fc3a955432a4def;hb=ac1cf8d417b2f21cfd997b8cc7756e2bb36dedc7;hpb=8570b50e7fa3aaaaa55a9bc7d95cfe169555397b diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 1b3af91..31434ee 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -129,7 +129,7 @@ __PACKAGE__->stats_class('Catalyst::Stats'); __PACKAGE__->_encode_check(Encode::FB_CROAK | Encode::LEAVE_SRC); # Remember to update this in Catalyst::Runtime as well! -our $VERSION = '5.90079_005'; +our $VERSION = '5.90079_006'; $VERSION = eval $VERSION if $VERSION =~ /_/; # numify for warning-free dev releases sub import { @@ -1184,6 +1184,17 @@ Catalyst> line. B You B wrap this method with method modifiers or bad things will happen - wrap the C method instead. +B You can create a custom setup stage that will execute when the +application is starting. Use this to customize setup. + + MyApp->setup(-Custom=value); + + sub setup_custom { + my ($class, $value) = @_; + } + +Can be handy if you want to hook into the setup phase. + =cut sub setup { @@ -4424,9 +4435,11 @@ dd070: Dhaval Dhanani Upasana +John Napiorkowski (jnap) + =head1 COPYRIGHT -Copyright (c) 2005-2014, the above named PROJECT FOUNDER and CONTRIBUTORS. +Copyright (c) 2005-2015, the above named PROJECT FOUNDER and CONTRIBUTORS. =head1 LICENSE