X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FScriptRunner.pm;h=7619e615823da5c5ca606e7b679560dfc8a1eeb3;hb=9a511413536c9abfedae803aa0058e875ae358ac;hp=1e8c572a5b5d771673aaa2bab100506e14324c33;hpb=ff7f204903d36bf06f798497497118001623d0e2;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/ScriptRunner.pm b/lib/Catalyst/ScriptRunner.pm index 1e8c572..7619e61 100644 --- a/lib/Catalyst/ScriptRunner.pm +++ b/lib/Catalyst/ScriptRunner.pm @@ -48,6 +48,7 @@ sub run { } __PACKAGE__->meta->make_immutable; +1; =head1 NAME @@ -86,6 +87,16 @@ individually. Called with two parameters, the application class (e.g. MyApp) and the script class, (i.e. one of Server/FastCGI/CGI/Create/Test) +=head2 find_script_class ($appname, $script_name) + +Finds and loads the class for the script, trying the application specific +script first, and falling back to the generic script. Returns the script +which was loaded. + +=head2 find_script_traits ($appname, @try) + +Finds and loads a set of traits. Returns the list of traits which were loaded. + =head1 AUTHORS Catalyst Contributors, see Catalyst.pm