Mojolicious::Plugin::AssetPack::Util - Utility functions for pipes
Mojolicious::Plugin::AssetPack::Util holds utility functions.
use Mojolicious::Plugin::AssetPack::Util; use Mojolicious::Plugin::AssetPack::Util qw(checksum diag DEBUG)
$str = checksum $bytes;
Used to calculate checksum of $bytes.
$bytes
diag "some messsage"; diag "some %s", "messsage";
Same as warn(), but with a prefix. It will also use sprintf() if more than one argument is given.
warn()
sprintf()
$str = dumper $any;
Dump a Perl data structure into a single line with Data::Dumper.
Same as "has" in Mojo::Base, but creates a read-only attribute.
$module = load_module $module;
Used to load a $module. Will confess on failure.
$module
Mojolicious::Plugin::AssetPack.
To install Mojolicious::Plugin::AssetPack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::AssetPack
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::AssetPack
For more information on module installation, please visit the detailed CPAN module installation guide.