AAT::Utils(3)
π AAT::Utils β the AAT Utils module, bestie edition π
okay so. this is AAT::Utils, a lil Perl module from the AAT Utils family, and it lives in section 3 of the manual (AAT::Utils(3)). it's a grab-bag of tiny helper functions that do the "wait why is this one line of code so annoying" jobs for you. no cap, it's giving utility belt. π¦
β¨ FUNCTIONS β¨
π ARRAY($value)
converts $value into an array. the whole vibe is just
@{$value}
slay. array acquired. π
π ARRAY_REF($value)
converts $value into an array reference. literally:
\@{$value}
one backslash and suddenly it's a reference. main character energy. π₯
π HASH($value)
converts $value into a hash. yes bestie, it's
%{$value}
hashified. periodt. π
π HASH_KEYS($value)
hands you the keys for that converted hash $value. underneath it's serving
keys %{$value}
all the keys, no crumbs left. π
π NOT_NULL($value)
checks that the value $value is not null β and by null we mean undef or ''. that's the whole test. πΈ
π NULL($value)
the mirror twin πͺ β checks that the value $value is null, meaning undef or ''. again, those two things and nothing else.
π Now()
returns the current date (like, now now, the actual moment) as an Array in this order:
YYYYMMDDHHMMSS
(two MMs bestie, one is months and one is minutes, iykyk π°οΈ)
π Now_String()
gets you the actual time as a string in the format "YYYY/MM/DD HH:MM".
Returns:
$now_stringβ a string formatted as"YYYY/MM/DD HH:MM"
π AUTHOR π
Sebastien Thebert <octo.devel@gmail.com> β thank you for your service, king π«Ά
and that's the whole page, bestie!! this was documented for perl v5.22.2, dated 2016-05-04, so it's a little vintage but it still eats πβ¨π
π¦ where this page comes from
- ubuntu jammy: octopussy 1.0.6-0ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms