Doc tidy up wrt plugin method
Tomas Doran [Sun, 12 Apr 2009 15:36:31 +0000 (15:36 +0000)]
lib/Catalyst.pm
lib/Catalyst/Upgrading.pod

index 9c5bc8c..6aa7357 100644 (file)
@@ -925,9 +925,9 @@ loads and instantiates the given class.
     MyApp->plugin( 'prototype', 'HTML::Prototype' );
 
     $c->prototype->define_javascript_functions;
-    
+
 B<Note:> This method of adding plugins is deprecated. The ability
-to add plugins like this B<will be removed> in a Catalyst 5.9.
+to add plugins like this B<will be removed> in a Catalyst 5.81.
 Please do not use this functionality in new code.
 
 =cut
@@ -935,9 +935,9 @@ Please do not use this functionality in new code.
 sub plugin {
     my ( $class, $name, $plugin, @args ) = @_;
 
-    # See block comment in t/unit_core_plugin.t    
+    # See block comment in t/unit_core_plugin.t
     $class->log->warn(qq/Adding plugin using the ->plugin method is deprecated, and will be removed in Catalyst 5.81/);
-    
+
     $class->_register_plugin( $plugin, 1 );
 
     eval { $plugin->import };
index d335936..ae5a6ff 100644 (file)
@@ -263,6 +263,7 @@ deprecated>.
 Instead you are recommended to use L< Catalyst::Model::Adaptor > or similar to
 compose the functionality you need outside of the main application name space.
 
-Calling the plugin method at runtime will not be supported past Catalyst 5.81.
+Calling the plugin method will not be supported past Catalyst 5.81.
 
 =cut
+