From: Tomas Doran Date: Tue, 13 Apr 2010 21:03:58 +0000 (+0000) Subject: Fix spelling errors - RT#54335 X-Git-Tag: 5.80023~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=6356febf43d63d59631124c80b39f89308d92f55 Fix spelling errors - RT#54335 --- diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index b582103..69563d9 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -705,13 +705,13 @@ sub unescape_uri { =head2 $self->env -Hash containing enviroment variables including many special variables inserted +Hash containing environment variables including many special variables inserted by WWW server - like SERVER_*, REMOTE_*, HTTP_* ... -Before accesing enviroment variables consider whether the same information is +Before accessing environment variables consider whether the same information is not directly available via Catalyst objects $c->request, $c->engine ... -BEWARE: If you really need to access some enviroment variable from your Catalyst +BEWARE: If you really need to access some environment variable from your Catalyst application you should use $c->engine->env->{VARNAME} instead of $ENV{VARNAME}, as in some enviroments the %ENV hash does not contain what you would expect. diff --git a/script/catalyst.pl b/script/catalyst.pl index ef9771c..a0c2324 100755 --- a/script/catalyst.pl +++ b/script/catalyst.pl @@ -142,7 +142,7 @@ runs the generated application as a FastCGI script =item C -runs an action of the generated application from the comand line. +runs an action of the generated application from the command line. =back