moving to use parent stuff for docs
[catagits/Catalyst-Manual.git] / lib / Catalyst / Manual / Intro.pod
index 824af65..ea6344d 100644 (file)
@@ -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',