NAME

Package::Stash::PP - pure perl implementation of the Package::Stash API

VERSION

version 0.27

SYNOPSIS

use Package::Stash;

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

  • Scalar slots are only considered to exist if they are defined

    This is due to a shortcoming within perl itself. See "Making References" in perlref point 7 for more information.

  • 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.

Please report any bugs through RT: email bug-package-stash at rt.cpan.org, or browse to http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Package-Stash.

SUPPORT

You can find this documentation for this module with the perldoc command.

perldoc Package::Stash

You can also look for information at:

AUTHOR

Jesse Luehrs <doy at tozt dot net>

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

SEE ALSO

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 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.