Catman...everse(3pm)

πŸ“¦
version 1.2025 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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