Catman...repend(3pm)

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

πŸ’– Catmandu::Fix::prepend β€” the "put a lil something in front" fix πŸ’–

okay bestie, welcome to the User Contributed Perl Documentation section of the manual (that's the 3pm girlies, iykyk) 🌸 and today we're talking about Catmandu::Fix::prepend, which does literally one job and does it iconically: it slaps a prefix onto the value of a field. that's it. that's the whole vibe. no cap. ✨


✨ NAME ✨

Catmandu::Fix::prepend β€” add a prefix to the value of a field πŸŽ€


🌈 SYNOPSIS 🌈

she's simple, she's elegant, she's giving main character energy πŸ¦‹

# prepend to a value. e.g. {name => 'smith'}
prepend(name, 'mr. ') # {name => 'mr. smith'}

so like. you hand her name and 'mr. ' and she's like "okay say less" and now your {name => 'smith'} is out here living its best life as {name => 'mr. smith'} πŸ’… ate, no crumbs.


πŸ‘‘ SEE ALSO πŸ‘‘

  • Catmandu::Fix β€” the whole fix ecosystem, the mothership, the blueprint fr fr 🫢

friendly reminder bestie: she only prepends, she doesn't append, she doesn't replace, she doesn't do your taxes. prefix only. periodt. πŸ’–

and that's the whole page!! 😭 go forth and prefix your fields, queen πŸ‘‘

mwah πŸ’‹ β€” this one came from perl v5.40.1, dated 2026-01-24, and yes the Catmandu::Fix::prepend(3pm) header was serving cunt the entire time πŸŽ€βœ¨

πŸ“¦ where this page comes from