From: Jesse Sheidlower Date: Tue, 11 Oct 2005 01:28:21 +0000 (+0000) Subject: Spelling fixes throughout core modules X-Git-Tag: 5.7099_04~1227 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=26e731318112842b5a605bec2092ccae3369c5e4;hp=4bd82c41837b80f57b4ca6a611a20d11d4830980 Spelling fixes throughout core modules --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 7cde581..790f2c9 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -119,7 +119,7 @@ so C becomes C. use Catalyst 'My::Module'; -Special flags like -Debug and -Engine can also be specifed as arguments when +Special flags like -Debug and -Engine can also be specified as arguments when Catalyst is loaded: use Catalyst qw/-Debug My::Module/; diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index d556068..7f4ddde 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -748,7 +748,7 @@ print [% name %]->run($ARGV[0])->content . "\n"; =head1 DESCRIPTION -Run a Catalyst action from the comand line. +Run a Catalyst action from the command line. =head1 AUTHOR @@ -814,7 +814,7 @@ Create a new Catalyst Component. Existing component files are not overwritten. If any of the component files to be created already exist the file will be written with a '.new' suffix. -This behaviour can be supressed with the C<-nonew> option. +This behavior can be suppressed with the C<-nonew> option. =head1 AUTHOR diff --git a/lib/Catalyst/Log.pm b/lib/Catalyst/Log.pm index deae3ca..56f4ff4 100644 --- a/lib/Catalyst/Log.pm +++ b/lib/Catalyst/Log.pm @@ -157,11 +157,11 @@ Your logging object is expected to provide the interface described here. =item new -Constructor, defaults to enable all levels unless levels a provieded in +Constructor. Defaults to enable all levels unless levels are provided in arguments. $log = Catalyst::Log->new; - $log = Catalyst::Log->new( 'warn', 'error', 'fatal' ); + $log = Catalyst::Log->new( 'warn', 'error' ); =item levels diff --git a/lib/Catalyst/Manual/Cookbook.pod b/lib/Catalyst/Manual/Cookbook.pod index 2c1b139..2cfdf77 100644 --- a/lib/Catalyst/Manual/Cookbook.pod +++ b/lib/Catalyst/Manual/Cookbook.pod @@ -84,7 +84,7 @@ Other Scaffolding modules are in development at the time of writing. =head3 Single file upload with Catalyst -To implement uploads in Catalyst you need to have a HTML form similiar to +To implement uploads in Catalyst, you need to have a HTML form similar to this:
@@ -285,13 +285,13 @@ best to add a user check to a 'begin' action: } } -Pay attention to $c->req->action(undef). This is needed because of the -way $c->forward works - C to C gets called, but after that -Catalyst will still execute the action defined in the URI (e.g. if you -tried to go to C, then first 'begin' will forward to 'login', but after -that 'add' will nonetheless be executed). So $c->req->action(undef) undefines any -actions that were to be called and forwards the user where we want him/her -to be. +Pay attention to $c->req->action(undef). This is needed because of the +way $c->forward works - C to C gets called, but after +that Catalyst will still execute the action defined in the URI (e.g. if +you tried to go to C, then first 'begin' will forward to 'login', +but after that 'add' will nonetheless be executed). So +$c->req->action(undef) undefines any actions that were to be called and +forwards the user where we want him/her to be. And this is all you need to do. @@ -463,7 +463,7 @@ favicon.ico by using this in your HTML header: The Static plugin makes use of the C package to automatically determine MIME types. This package is notoriously -difficult to install, especially on win32 and OSX. For OSX the easiest +difficult to install, especially on win32 and OS X. For OS X the easiest path might be to install Fink, then use C. Restart the server, and everything should be fine. @@ -616,7 +616,7 @@ mode, the error page is a useful screen including the error message and a full Data::Dumper output of the C<$c> context object. When not in C<-Debug>, users see a simple "Please come back later" screen. -To use a custom error page, use a special C method to short-circut +To use a custom error page, use a special C method to short-circuit the error processing. The following is an example; you might want to adjust it further depending on the needs of your application (for example, any calls to C will probably need to go into this diff --git a/lib/Catalyst/Manual/Intro.pod b/lib/Catalyst/Manual/Intro.pod index 979b130..19725ee 100644 --- a/lib/Catalyst/Manual/Intro.pod +++ b/lib/Catalyst/Manual/Intro.pod @@ -43,11 +43,11 @@ control. Catalyst! =back -If you're unfamiliar with MVC and design patterns, you may want to check out the -original book on the subject, I, by Gamma, Helm, Johson and -Vlissides, also known as the Gang of Four (GoF). You can also just google it. -Many, many web application frameworks are based on MVC, including all those -listed above. +If you're unfamiliar with MVC and design patterns, you may want to check +out the original book on the subject, I, by Gamma, +Helm, Johnson, and Vlissides, also known as the Gang of Four (GoF). You +can also just Google it. Many, many web application frameworks are +based on MVC, including all those listed above. =head3 Flexibility @@ -788,7 +788,7 @@ can always call an outside module that serves as your Model: But by using a Model that is part of your Catalyst application, you gain several things: you don't have to C each component, Catalyst will find and load it automatically at compile-time; you can C to -the module, which can only be done to Catalyst componenents; and only +the module, which can only be done to Catalyst components; and only Catalyst components can be fetched with C<$c-Ecomp('MyApp::M::SomeModel')>. diff --git a/lib/Catalyst/Manual/WritingPlugins.pod b/lib/Catalyst/Manual/WritingPlugins.pod index 6dfb799..20e3fdc 100644 --- a/lib/Catalyst/Manual/WritingPlugins.pod +++ b/lib/Catalyst/Manual/WritingPlugins.pod @@ -25,7 +25,7 @@ This technique is the usual way to plug a module into Catalyst. =head1 INTEGRATING YOUR PLUGIN -You can use L for your lugin by overloading certain methods which +You can use L for your plugin by overloading certain methods which are called by Catalyst during a request. =head2 The request life-cycle @@ -249,6 +249,6 @@ under the same terms as Perl itself. =head1 AUTHOR S> with a lot of help from the -poeple on #catalyst. +people on #catalyst. =cut diff --git a/lib/Catalyst/Request.pm b/lib/Catalyst/Request.pm index 3aaa6af..75ec6d9 100644 --- a/lib/Catalyst/Request.pm +++ b/lib/Catalyst/Request.pm @@ -380,7 +380,7 @@ Shortcut to $req->headers->referer. Referring page. =item $req->secure -Contains a boolean whether the communciation is secure. +Contains a boolean denoting whether the communication is secure. =item $req->snippets diff --git a/lib/Catalyst/Utils.pm b/lib/Catalyst/Utils.pm index 8a2a27b..c4d9ca8 100644 --- a/lib/Catalyst/Utils.pm +++ b/lib/Catalyst/Utils.pm @@ -83,7 +83,7 @@ sub class2classsuffix { =item class2env($class); -Returns the enviroment name for class. +Returns the environment name for class. MyApp becomes MYAPP My::App becomes MY_APP