Package::Stash::PP(3)

πŸŽ€ NAME πŸŽ€

Okay so welcome to Package::Stash::PP(3) in the User Contributed Perl Documentation stack, bestie! This is the Pure perl implementation of the Package::Stash API β€” yes, pure perl, for the no-compiler girlies and the inline-in-scripts girlies. πŸ’…βœ¨


🌸 VERSION 🌸

It's version 0.40, periodt. πŸŽ€


✨ SYNOPSIS ✨

Literally just:

use Package::Stash;

That's it. Slay. πŸ¦‹


πŸ¦‹ DESCRIPTION πŸ¦‹

This is a backend for Package::Stash implemented in pure perl, for those without a compiler or who would like to use this inline in scripts. It's giving lowkey iconic, highkey useful. 🫢


πŸ’€ BUGS πŸ’€

  • remove_symbol also replaces the associated typeglob β€” okay so this can cause unexpected behavior when doing manipulation at compile time. Removing subroutines will still allow them to be called from within the package as subroutines (although they will not be available as methods). This can be considered a feature in some cases (this is how namespace::clean works, for instance), but should not be relied upon β€” use remove_glob directly if you want this behavior. πŸ™ˆ
  • Some minor memory leaks β€” the pure perl implementation has a couple minor memory leaks (see the TODO tests in t/20-leaks.t) that I'm having a hard time tracking down β€” these may be core perl bugs, it's hard to tell. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

  • Class::MOP::Package β€” this module is a factoring out of code that used to live here. The lore is real. πŸ“š

🫢 SUPPORT 🫢

Bugs may be submitted through the RT bug tracker https://rt.cpan.org/Public/Dist/Display.html?Name=Package-Stash (or bug-Package-Stash@rt.cpan.org <mailto:bug-Package-Stash@rt.cpan.org>). Send the receipts, bestie. πŸ“¬


πŸ‘‘ AUTHOR πŸ‘‘

Mostly copied from code from Class::MOP::Package, by Stevan Little and the Moose Cabal. Royalty behavior. πŸ‘‘


This software is copyright (c) 2022 by Jesse Luehrs. πŸŽ€

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. πŸ’–


That's the whole Package::Stash::PP(3) manual, from the User Contributed Perl Documentation corner. Source/version: perl v5.42.0; date: 2022-02-22. Bye bestie, go manipulate some stashes with main character energy! πŸ’…πŸ«ΆπŸŒŸ

πŸ“¦ where this page comes from