revised documentation for 5.0
[catagits/Catalyst-Runtime.git] / lib / Catalyst.pm
index ba3993d..d198446 100644 (file)
@@ -5,6 +5,7 @@ use base 'Catalyst::Base';
 use UNIVERSAL::require;
 use Catalyst::Log;
 use Text::ASCIITable;
+use Text::ASCIITable::Wrap 'wrap';
 
 __PACKAGE__->mk_classdata($_) for qw/engine log/;
 
@@ -184,10 +185,10 @@ sub import {
             }
         }
     }
-    my $t = Text::ASCIITable->new;
+    my $t = Text::ASCIITable->new( { hide_HeadRow => 1, hide_HeadLine => 1 } );
     $t->setCols('Class');
     $t->setColWidth( 'Class', 75, 1 );
-    $t->addRow($_) for @plugins;
+    $t->addRow( wrap( $_, 75 ) ) for @plugins;
     $caller->log->debug( 'Loaded plugins', $t->draw )
       if ( @plugins && $caller->debug );
 
@@ -236,8 +237,21 @@ Mailing-Lists:
 
 =head1 SEE ALSO
 
-L<Catalyst::Manual>, L<Catalyst::Test>, L<Catalyst::Request>,
-L<Catalyst::Response>, L<Catalyst::Engine>
+=over 4
+
+=item L<Catalyst::Manual> - The Catalyst Manual
+
+=item L<Catalyst::Engine> - Core Engine
+
+=item L<Catalyst::Log> - The Log Class.
+
+=item L<Catalyst::Request> - The Request Object
+
+=item L<Catalyst::Response> - The Response Object
+
+=item L<Catalyst::Test> - The test suite.
+
+=back
 
 =head1 AUTHOR