Munin:...:Utils(3pm)

✨ Munin::Node::Utils ✨

okay so bestie, welcome to Munin::Node::Utils β€” it's a lil Perl module from the Munin::Node world (you'll see it filed under the User Contributed Perl Documentation section, aka the 3pm girly section πŸ’…), and honestly? It's giving utility functions. That's it. That's the whole vibe. A little grab-bag of helpers, no cap. πŸŽ€


🌸 SYNOPSIS 🌸

the way you summon it is literally this:

use Munin::Node::Utils qw( ... );

just use the module and list whatever you wanna pull in via qw( ... ) β€” put the function names you want in there, periodt. 🫢


πŸ¦‹ SUBROUTINES πŸ¦‹

here's the whole roster, and yes we're doing all of them, because there are only two and they're both iconic in their own quiet way ✨

πŸ’– set_difference(\@a, \@b)

Returns the list of elements in arrayref \@a that are not in arrayref \@b.

like, A minus B. the girlies in \@a who didn't get an invite to \@b's party. πŸ₯Ί she hands you back a list β€” an actual list, not an arrayref β€” so catch it accordingly.

πŸ’œ set_intersection(\@a, \@b)

Returns the list of elements common to arrayrefs \@a and \@b.

the overlap. the mutuals. the "we both follow each other" energy 🫢 β€” every element chillin' in both arrayrefs gets returned as a list.

ngl, both of these take arrayrefs (\@a, \@b β€” see the backslash? that's the whole point, don't come at them with plain arrays) and both hand you back a plain list. match the vibe, bestie. 😭

🌈 SEE ALSO

there's genuinely no SEE ALSO section in this one β€” it's short and sweet and it knows it. πŸ‘‘


that's the whole page, fr fr. Munin::Node::Utils β€” shipped as part of the User Contributed Perl Documentation, written for perl v5.42.3, dated 2026-09-30. slay, go forth and do set math responsibly πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from