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
- class2env($class);
-
Returns the enviroment name for class.
MyApp becomes MYAPP My::App becomes MY_APP
- class2prefix( $class, $case );
-
Returns the prefix for class.
My::App::C::Foo::Bar becomes /foo/bar
- class2tempdir( $class [, $create ] );
-
Returns a tempdir for class. If create is true it will try to create the path.
My::App becomes /tmp/my/app My::App::C::Foo::Bar becomes /tmp/my/app/c/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::Request
from 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.