Permalink
Browse files

A couple more typos.

  • Loading branch information...
1 parent b0a14c8 commit fc45bf7ab51640e5f07ebc6162c8fcd1b5195a21 @jhannah committed Mar 21, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/Plack/Component.pm
  2. +1 −1 lib/Plack/Middleware.pm
View
@@ -128,7 +128,7 @@ the same object whenever a new request comes in.
You can check if it is running in a persistent environment by checking
C<psgi.run_once> key in the C<$env> being true (non-persistent) or
false (persistent), but it is best for you to write your middleware
-safe in the persistent environment. To accomplish that, you should
+safely for a persistent environment. To accomplish that, you should
avoid saving per-request data like C<$env> in your object.
=head1 BACKWARDS COMPATIBILITY
View
@@ -68,7 +68,7 @@ can use C<< $self->app >> to call the original (wrapped) application.
Your middleware object is created at a PSGI application compile time
and is persistent during the web server life cycle (unless it is a
-non-persisten environment such as CGI), so you should never set or
+non-persistent environment such as CGI), so you should never set or
cache per-request data like C<$env> in your middleware object. See
also L<Plack::Component/"OBJECT LIFECYCLE">.

0 comments on commit fc45bf7

Please sign in to comment.