Catman...everse(3pm)
π Catman...everse(3pm) π
okay bestie, welcome to the Catman...everse page, section 3pm (yes that's the perl user-contributed docs corner of the manual, we love her) π
β¨ NAME β¨
Catmandu::Fix::reverse β it reverses a string or an array. that's it. that's the whole gig. no cap π¦
πΈ SYNOPSIS πΈ
here's the vibe, watch closely:
# {author => "tom jones"}
reverse(author)
# {author => "senoj mot"}
so you hand it author holding "tom jones" and it hands you back "senoj mot". iconic. it ate and left zero crumbs π
and it does arrays too, not just strings:
# {numbers => [1,14,2]}
reverse(numbers)
# {numbers => [2,14,1]}
[1,14,2] walks in, [2,14,1] struts out. the order is flipped, the elements are untouched, fr fr π₯
π SEE ALSO π
Catmandu::Fixβ the whole fix ecosystem, go say hi π
that's the whole page bestie, short and sweet, main character energy only π
no warnings, no bugs, no deprecated anything on this one β just a lil reversal moment β¨
and a lil sign-off for the record: this page lives in the perl v5.40.1 docs, dated 2026-01-24. mwah, take care of her π«Άππ
π¦ where this page comes from
- ubuntu resolute: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms