Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

A couple more typos.

  • Loading branch information...
commit fc45bf7ab51640e5f07ebc6162c8fcd1b5195a21 1 parent b0a14c8
@jhannah authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/Plack/Component.pm
  2. +1 −1  lib/Plack/Middleware.pm
View
2  lib/Plack/Component.pm
@@ -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
2  lib/Plack/Middleware.pm
@@ -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">.
Please sign in to comment.
Something went wrong with that request. Please try again.