Catalyst::Utils - The Catalyst Utils
See Catalyst.
MyApp::Foo becomes myapp_foo
MyApp::C::Foo::Bar becomes MyApp My::App::C::Foo::Bar becomes My::App
MyApp::C::Foo::Bar becomes MyApp::C My::App::C::Foo::Bar becomes My::App::C
MyApp::C::Foo::Bar becomes C::Foo::Bar
Returns the environment name for class.
MyApp becomes MYAPP My::App becomes MY_APP
Returns the uri prefix for a class. If case is false the prefix is converted to lowercase.
My::App::C::Foo::Bar becomes foo/bar
Returns a tempdir for a 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
Returns home directory for given class.
Returns a prefixed action.
MyApp::C::Foo::Bar, yada becomes foo/bar/yada
Returns an HTTP::Request object for a uri.
Loads the class unless it already has been loaded.
Base code to recursively merge two hashes together with right-hand precedence.
Sebastian Riedel, sri@cpan.org Yuval Kogman, nothingmuch@woobling.org
sri@cpan.org
nothingmuch@woobling.org
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::Runtime, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Runtime
CPAN shell
perl -MCPAN -e shell install Catalyst::Runtime
For more information on module installation, please visit the detailed CPAN module installation guide.