-
-
13 Mar 2021 16:57:37 UTC
- Distribution: Mojolicious-Plugin-AssetPack
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (85 / 0 / 2)
- Kwalitee
Bus factor: 4- % Coverage
- License: artistic_2
- Activity
24 month- Tools
- Download (1.3MB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Mojolicious::Plugin::AssetPack::Util - Utility functions for pipes
DESCRIPTION
Mojolicious::Plugin::AssetPack::Util holds utility functions.
SYNOPSIS
use Mojolicious::Plugin::AssetPack::Util; use Mojolicious::Plugin::AssetPack::Util qw(checksum diag DEBUG)
FUNCTIONS
checksum
$str = checksum $bytes;
Used to calculate checksum of
$bytes
.diag
diag "some messsage"; diag "some %s", "messsage";
Same as
warn()
, but with a prefix. It will also usesprintf()
if more than one argument is given.dumper
$str = dumper $any;
Dump a Perl data structure into a single line with Data::Dumper.
has_ro
Same as "has" in Mojo::Base, but creates a read-only attribute.
load_module
$module = load_module $module;
Used to load a
$module
. Will confess on failure.SEE ALSO
Module Install Instructions
To install Mojolicious::Plugin::AssetPack, copy and paste the appropriate command in to your terminal.
cpanm Mojolicious::Plugin::AssetPack
perl -MCPAN -e shell install Mojolicious::Plugin::AssetPack
For more information on module installation, please visit the detailed CPAN module installation guide.