X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FUpgrading.pod;h=92db2ae56424ef5d3ac65555251c603db6c90cb6;hb=8f076801b5c41543fdc20859452ed2cea1e1f82f;hp=7d30bcdf34e5caf4f379fc54ff5f3d5ccb6635ce;hpb=42c123daba26534316bd9d6f9f064feee5a76763;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Upgrading.pod b/lib/Catalyst/Upgrading.pod index 7d30bcd..92db2ae 100644 --- a/lib/Catalyst/Upgrading.pod +++ b/lib/Catalyst/Upgrading.pod @@ -68,12 +68,21 @@ XXX FIXME - note how to run Starman with different options. 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 will -have written (or generated) an C file similar to this one: +have written (or generated) a C