X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FIntro.pod;h=ea6344d6f3bf292977720b883b675e4780242d63;hp=824af65481fc6f6ecaa2c5e593bc78a34ddc3b32;hb=ca7528dfa8625d0ed6688f2bb93372ab3d958881;hpb=1fba23697704198d7ee72d0e3436f46c9bef537c diff --git a/lib/Catalyst/Manual/Intro.pod b/lib/Catalyst/Manual/Intro.pod index 824af65..ea6344d 100644 --- a/lib/Catalyst/Manual/Intro.pod +++ b/lib/Catalyst/Manual/Intro.pod @@ -560,9 +560,10 @@ configure your application, load plugins, and extend Catalyst. package MyApp; use strict; - use Catalyst qw/-Debug/; # Add other plugins here, e.g. - # for session support - + use parent qw/Catalyst/; + __PACKAGE__->setup(qw/-Debug ConfigLoader Static::Simple/); + # note you can still use use Catalyst qw/@plugins/ instead of the + # above two lines MyApp->config( name => 'My Application',