Catman...atahub(3pm)

πŸ’– Catman...atahub(3pm) πŸ’–

okay so bestie, welcome to the 3pm zone β€” that's the User Contributed Perl Documentation corner of the manual, and today's main character is Catmandu::Fix::Datahub. lowkey iconic, highkey useful. let's go 🫢


✨ NAME ✨

Catmandu::Fix::Datahub β€” utility functions and generic fixes developed for the Datahub project. that's the whole vibe, no cap πŸ’…


🌸 SYNOPSIS 🌸

first up, the Catmandu::Fix::Datahub::Util era:

use Catmandu::Fix::Datahub::Util;

and then the Catmandu::Fix::Bind::each serve:

do each(path: demo, var: d)

  copy_field(d.key, var.$append)

end

like… the way that loop just eats? obsessed 😭✨


πŸ¦‹ DESCRIPTION πŸ¦‹

πŸ’œ Catmandu::Fix::Datahub::Util πŸ’œ

utility functions for use in Catmandu fixes. that's the mission statement, fr fr.

here are the two function signatures it's giving you β€” and ngl, the page just hands you the signatures and dips, no extra lore:

  • declare_source($fixer, $var, $declared_var)
  • walk($fixer, $path, $key, $h)

πŸ’œ Catmandu::Fix::Bind::each πŸ’œ

a bind to iterate over a hash. yes bestie, it walks your hash so you don't have to πŸšΆβ™€οΈπŸŒˆ


πŸ‘‘ AUTHOR πŸ‘‘

Pieter De Praetere <pieter@packed.be> β€” the mastermind, the moment, the authorrr πŸ’–


Copyright 2017- PACKED vzw. periodt.


⭐ LICENSE ⭐

this library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. slay, open source queen πŸ‘‘


🌈 SEE ALSO 🌈

  • Catmandu β€” go look at the big one, iykyk πŸ¦‹

and that's a wrap, bestie!! this page is from perl v5.36.0, dated 2023-02-03, and it lives in the Catman...atahub(3pm) era of the manual. mwah πŸ’‹πŸ’…

πŸ“¦ where this page comes from