NAME
Catalyst::Utils - The Catalyst Utils
SYNOPSIS
See Catalyst.
DESCRIPTION
METHODS
- attrs($coderef)
-
Returns attributes for coderef in a arrayref
- class2appclass($class);
-
Returns the appclass for class.
MyApp::C::Foo::Bar becomes MyApp My::App::C::Foo::Bar becomes My::App - class2classprefix($class);
-
Returns the classprefix for class.
MyApp::C::Foo::Bar becomes MyApp::C My::App::C::Foo::Bar becomes My::App::C - class2classsuffix($class);
-
Returns the classsuffix for class.
MyApp::C::Foo::Bar becomes C::Foo::Bar - class2prefix($class);
-
Returns the prefix for class.
My::App::C::Foo::Bar becomes /foo/bar - home($class)
-
Returns home directory for given class.
- prefix($class, $name);
-
Returns a prefixed action.
MyApp::C::Foo::Bar, yada becomes /foo/bar/yada - reflect_actions($class);
-
Returns an arrayref containing all actions of a component class.
- request($string);
-
Returns an
HTTP::Requestfrom a string.
AUTHOR
Sebastian Riedel, sri@cpan.org
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.