NAME
Starch::Util - Utility functions used internally by Starch.
FUNCTIONS
croak
This is a customCarpcroak
function which finds and sets all installedStarch
andTest::Starch
modules as internal to Carp so that Carp looks deeper in the stack for something to blame which makes exceptions be more contextually useful for users of Starch and means we don't need to use confess which generates giant stack traces.
load_prefixed_module
# These both return "Foo::Bar".my $module = load_prefixed_module( 'Foo', '::Bar' );my $module = load_prefixed_module( 'Foo', 'Foo::Bar' );
Takes a prefix to be appended to a relative package name and a relative or absolute package name. It then resolves the relative package name to an absolute one, loads it, and returns the absolute name.
SUPPORT
AUTHORS
COPYRIGHT AND LICENSE
Module Install Instructions
To install Starch, copy and paste the appropriate command in to your terminal.
cpanm Starch
perl -MCPAN -e shellinstall Starch
For more information on module installation, please visitthe detailed CPAN module installation guide.