NAME

oEdtk::Utils - generic text, index, date and tracking helpers

SYNOPSIS

use oEdtk::Utils qw(delete_useless_whitespaces IDX_FORMAT);

my $clean = delete_useless_whitespaces("  a   b  ");    # "a b"
my $fmt   = IDX_FORMAT();

DESCRIPTION

Generic helpers ported from the fork's oEdtk::Utils at S23: text cleanup (delete_useless_whitespaces, kill_non_latin_1_9_chars_in_place, trim_list), the index format (IDX_FORMAT), date and price parsing (parse_jjmmaaaa, parse_yyyymmdd, parse_price, convert_date, month_to_name), tracking (track_begin, track, track_end, TRACK_MODE_BATCH) and small value helpers (flatten_index_variables, max_value, scalar_dump, alert).

The corporate part of the fork's module -- init and the INDEX_* accessors, which call oEUser::Lib or name corporate schema identifiers -- lives in oEUser::Utils. Their old names are kept here as delegates: they forward to the companion distribution, which is loaded on demand, and a missing oEUser fails with a clear message. This module itself never depends on oEUser.

AUTHOR

The oEdtk team.