X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FComponent.pm;h=55f25c0092ec598d69484baabe728a53db37af47;hb=93534e4d63fd2b3600acede08843e297f4398085;hp=01e38f59755977f21790ee016d38de7561fe823c;hpb=f4d7cf1e0b763ba80f83a4c48edf7173ad250a46;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Component.pm b/lib/Catalyst/Component.pm index 01e38f5..55f25c0 100644 --- a/lib/Catalyst/Component.pm +++ b/lib/Catalyst/Component.pm @@ -203,8 +203,8 @@ something like this: } B Generally when L starts, it initializes all the components -and passes the hashref present in any configutation information to the -COMPONET method. For example +and passes the hashref present in any configuration information to the +COMPONENT method. For example MyApp->config( 'Model::Foo' => { @@ -294,7 +294,7 @@ second argument is blessed (is a context) or not (is an application class name) it MUST return something valid for the case when the scope is application. This is required because a component maybe be called from the application scope even if it requires a context and you must prevent errors from being issued if this happens. -Remeber not all components that ACCEPT_CONTEXT actually need or use context information +Remember not all components that ACCEPT_CONTEXT actually need or use context information (and there is a school of thought that suggestions doing so is a design error anyway...) =head1 SEE ALSO