projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
3143ee5
)
Fix ::PSGI example
Tomas Doran [Tue, 16 Aug 2011 07:44:45 +0000 (08:44 +0100)]
lib/Catalyst/PSGI.pod
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/PSGI.pod
b/lib/Catalyst/PSGI.pod
index
fdf1004
..
bdd2ae9
100644
(file)
--- a/
lib/Catalyst/PSGI.pod
+++ b/
lib/Catalyst/PSGI.pod
@@
-52,7
+52,7
@@
The simplest C<.psgi> file for an application called C<TestApp> would be:
use warnings;
use TestApp;
- my $app = sub { TestApp->psgi_app(@_) };
+ my $app = TestApp->psgi_app(@_);
Note that Catalyst will apply a number of middleware components for you
automatically, and these B<will not> be applied if you manually create a