Mojolic...k::Util(3)
okay bestie, you're looking at the Mojolic...k::Util(3) page from the User Contributed Perl Documentation โจ โ aka Mojolicious::Plugin::AssetPack::Util, and yes, we're getting into it ๐
๐ NAME ๐
Mojolicious::Plugin::AssetPack::Util - Utility functions for pipes. periodt.
โจ DESCRIPTION โจ
Mojolicious::Plugin::AssetPack::Util holds utility functions. That's the whole description, bestie โ short and iconic.
๐ฆ SYNOPSIS ๐ฆ
Import it like this, no cap:
use Mojolicious::Plugin::AssetPack::Util;
use Mojolicious::Plugin::AssetPack::Util qw(checksum diag DEBUG)
๐ ๏ธ FUNCTIONS ๐ ๏ธ
These are the little helpers in the group chat ๐ซถ
checksum ๐งฎ
$str = checksum $bytes;
Used to calculate checksum of $bytes. It's giving checksum queen ๐ซ
diag ๐ฃ
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. So it's warn's louder, slightly more decorated cousin.
dumper ๐ฆ
$str = dumper $any;
Dump a Perl data structure into a single line with Data::Dumper. One line, cute and contained.
has_ro ๐
Same as has in Mojo::Base, but creates a read-only attribute. Read-only means no touchy, bestie.
load_module ๐ง
$module = load_module $module;
Used to load a $module. Will confess on failure. Dramatic? Maybe. Useful? Absolutely.
๐ SEE ALSO ๐
Mojolicious::Plugin::AssetPack. Go say hi to the main character.
okay that's the whole page, bestie ๐ โ footer energy: this Mojolic...k::Util(3) page comes from source/version perl v5.42.0, dated 2024-12-12. Bye! ๐
๐ฆ where this page comes from
- opensuse-leap 16.0: perl-Mojolicious-Plugin-AssetPack 2.150.0-bp160.1.11 ยท Artistic-2.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms