Package::Stash::PP(3) User Contributed Perl Documentation Package::Stash::PP(3)

# [SYNOPSIS](#SYNOPSIS)

```
  use Package::Stash;
```

# [DESCRIPTION](#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.

# [BUGS](#BUGS)

- remove\_symbol also replaces the associated typeglob
  
  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](#SEE_ALSO)

•

Class::MOP::Package

This module is a factoring out of code that used to live here

# [AUTHOR](#AUTHOR)

Mostly copied from code from Class::MOP::Package, by Stevan Little and the Moose Cabal.

2026-10-25 perl v5.44.0

---

Document: Package::Stash::PP(3pm) from perl-package-stash 0.40-r9 (Chainguard OS)
Source: https://github.com/moose/Package-Stash
