Perlbal::Util(3pm)
β¨ Perlbal::Util β¨
okay bestie, welcome to Perlbal::Util π this is a page from the User Contributed Perl Documentation, and it's all about the little helper functions that live deep inside Perlbal π«Ά they're internal, so likeβ¦ they're for Perlbal's own use, iykyk π
Perlbal::Util β utility functions internal to Perlbal π
π¦ " rebless " π¦
okay so this one is lowkey the star of the show β
- it safely re-blesses a locked hash β yep, the kind you get from
use fieldsβ into another package π§ no cap, it does it safely π
π¨ bestie, read this part, it's giving very-much-on-purpose: for our convenience elsewhere, the set of allowable keys for the re-blessed hash will be the union of the keys allowed by its old package and those allowed for the package into which it is blessed π so like, both sets of keys stay legal, periodt π
and that's the whole vibe, bestie π¦ this was perl v5.34.0, dated 2022-06-28 πΈ go forth and re-bless responsibly, mwah πβ¨π
π¦ where this page comes from
- debian bookworm: libperlbal-perl 1.80-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libperlbal-perl 1.80-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libperlbal-perl 1.80-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libperlbal-perl 1.80-4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms