NAME

WWW::Suffit::Util - The Suffit utilities

SYNOPSIS

use WWW::Suffit::Util;

DESCRIPTION

Exported utility functions

color

Deprecated in this module! See "color" in Acrux::Util

See also Term::ANSIColor

dformat

Deprecated in this module! See "dformat" in Acrux::Util

See also "dformat" in CTK::Util

fbytes

Deprecated in this module! See "fbytes" in Acrux::Util

fdate

Deprecated in this module! See "fdate" in Acrux::Util

fdatetime

Deprecated in this module! See "fdatetime" in Acrux::Util

fduration

Deprecated in this module! See "fduration" in Acrux::Util

humanize_duration

Deprecated in this module! See "humanize_duration" in Acrux::Util

human2bytes

Deprecated in this module! See "human2bytes" in Acrux::Util

See also "humanize_bytes" in Mojo::Util

json_load

my $hash  = json_load( $file );

Loads JSON file and returns data as perl struct

json_save

my $path = json_save( $file, {foo => [1, 2], bar => 'hello!', baz => \1} );

Save perl struct to file as JSON document and returns the Mojo::File object

md5sum

my $md5 = md5sum( $file );

See Digest::MD5

parse_expire

Deprecated in this module! See "parse_expire" in Acrux::Util

parse_time_offset

Deprecated in this module! See "parse_time_offset" in Acrux::Util

randchars

Deprecated in this module! See "randchars" in Acrux::Util

HISTORY

See Changes file

TO DO

See TODO file

SEE ALSO

Acrux::Util, Digest::MD5

AUTHOR

Serż Minus (Sergey Lepenkov) https://www.serzik.com <abalama@cpan.org>

COPYRIGHT

Copyright (C) 1998-2025 D&D Corporation. All Rights Reserved

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See LICENSE file and https://dev.perl.org/licenses/