diff --git a/lib/Dancer2.pm b/lib/Dancer2.pm index db41f4aea..3a02beaea 100644 --- a/lib/Dancer2.pm +++ b/lib/Dancer2.pm @@ -400,13 +400,17 @@ This will create a single application spread across two packages. =head1 Running an application -There are two ways to run your Dancer2 applications: the old way and the -new way. +You should use L to run your application, which is +automatically installed with C. -The old way (involving the C keyword) is not recommended (and thus -not documented here), but it is still available for compatibility's sake. -Instead we present the preferred way: using L, which is -automatically installed with L. +=head2 Do not use the C keyword! + +L and early versions of C used the C keyword to +run an application. Do B use it to run new applications! The keyword +still exists for compatibility's sake, but its use is discouraged. + +L +explains the problems inherent in the C keyword in greater detail. =head2 Development server @@ -1091,7 +1095,8 @@ session. The type is L. Note: Dancer comes with a default simple memory-based session engine, to help you get started. Once you're ready, you should use a -production-level session engine. +production-level session engine, such as L, +L, or L. =head2 Hooks