X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FUpgrading.pod;h=e51e18ad80b9fd62285dc85a9c74844999333a03;hb=75d68821eb2e68df557b479fd5a869590e094642;hp=8ce8eec4fa27761c77837896ba748068dfebcc87;hpb=697a3e9ee29085ff29867445df932df6de4cff9e;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Upgrading.pod b/lib/Catalyst/Upgrading.pod index 8ce8eec..e51e18a 100644 --- a/lib/Catalyst/Upgrading.pod +++ b/lib/Catalyst/Upgrading.pod @@ -59,19 +59,30 @@ myapp_cgi.pl script is already upgraded enough to use L. =head2 Upgrading the Preforking Engine If you were using L then L -is automatically loaded. +is automatically loaded. + +XXX FIXME - note how to run Starman with different options. =head2 Upgrading the PSGI Engine If you were using L this new release supercedes this engine in supporting L. By default the Engine is now always L. As a result, you can stop depending on L in your -C. Additionally, if you have an C script you no longer +C. + +Applications that were using L +previously should entirely continue to work in this release with no changes. + +However, if you have an C script, then you no longer need to specify the PSGI engine. Instead, the L application class -now has a new method C which returns a L compatible coderef. +now has a new method C which returns a L compatible coderef +which you can wrap in middleware of your choice. + +Catalyst will use the .psgi for your application if it is located in the C +directory of the application -For example, if you were using L in the past, you may -have written an C file similar to this one: +For example, if you were using L in the past, you will +have written (or generated) a C