More POD
Tomas Doran [Sat, 5 Sep 2009 15:16:33 +0000 (15:16 +0000)]
lib/Catalyst/ScriptRole.pm
lib/Catalyst/ScriptRunner.pm

index cd23d89..aa319f3 100644 (file)
@@ -49,3 +49,27 @@ sub _run_application {
 }
 
 1;
+
+=head1 NAME
+
+Catalyst::ScriptRole - Common functionality for Catalyst scripts.
+
+=head1 SYNOPSIS
+
+    FIXME
+    
+=head1 DESCRIPTION
+
+    FIXME    
+
+=head1 AUTHORS
+
+Catalyst Contributors, see Catalyst.pm
+
+=head1 COPYRIGHT
+
+This library is free software, you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
+    
\ No newline at end of file
index c0bb27a..08fd66e 100644 (file)
@@ -25,11 +25,13 @@ __PACKAGE__->meta->make_immutable;
 
 =head1 NAME
 
-Catalyst::ScriptRunner - The Catalyst Framework Script runner
+Catalyst::ScriptRunner - The Catalyst Framework script runner
 
 =head1 SYNOPSIS
 
-See L<Catalyst>.
+    # Will run MyApp::Script::Server if it exists, otherwise
+    # will run Catalyst::Script::Server.
+    Catalyst::ScriptRunner->run('MyApp', 'Server');
 
 =head1 DESCRIPTION