logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Mojolicious::Plugin::AssetPack::Util - Utility functions for pipes

Description

       Mojolicious::Plugin::AssetPack::Util holds utility functions.

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 use sprintf() 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.

Name

       Mojolicious::Plugin::AssetPack::Util - Utility functions for pipes

See Also

       Mojolicious::Plugin::AssetPack.

perl v5.40.0                                       2024-12-07             Mojolicious::Pl...AssetPack::Util(3pm)

Synopsis

         use Mojolicious::Plugin::AssetPack::Util;
         use Mojolicious::Plugin::AssetPack::Util qw(checksum diag DEBUG)

See Also