Routines for manipulating stashes

Edit Package perl-Package-Stash
http://search.cpan.org/dist/Package-Stash/

Manipulating stashes (Perl's symbol tables) is occasionally necessary, but
incredibly messy, and easy to get wrong. This module hides all of that
behind a simple API.

NOTE: Most methods in this class require a variable specification that
includes a sigil. If this sigil is absent, it is assumed to represent the
IO slot.

Due to limitations in the typeglob API available to perl code, and to
typeglob manipulation in perl being quite slow, this module provides two
implementations - one in pure perl, and one using XS. The XS implementation
is to be preferred for most usages; the pure perl one is provided for cases
where XS modules are not a possibility. The current implementation in use
can be set by setting '$ENV{PACKAGE_STASH_IMPLEMENTATION}' or
'$Package::Stash::IMPLEMENTATION' before loading Package::Stash (with the
environment variable taking precedence), otherwise, it will use the XS
implementation if possible, falling back to the pure perl one.

Refresh
Refresh
Source Files
Filename Size Changed
Package-Stash-0.34.tar.gz 0000036180 35.3 KB
perl-Package-Stash-old_Test-More.patch 0000007848 7.66 KB
perl-Package-Stash.changes 0000004066 3.97 KB
perl-Package-Stash.spec 0000003559 3.48 KB
Revision 21 (latest revision is 35)
Stephan Kulow's avatar Stephan Kulow (coolo) committed (revision 21)
- updated to 0.34
      - support anonymous stashes on newer perl versions
      - prevent harmful effects from invalid settings for
        $ENV{PACKAGE_STASH_IMPLEMENTATION}
      - switch to Module::Implementation
Comments 0
openSUSE Build Service is sponsored by