build_requires q{FindBin}, 0;
requires q{B::Hooks::EndOfScope}, '0.07';
-requires q{Stash::Manip}, '0.01';
+requires q{Package::Stash}, '0.03';
requires q{Sub::Name}, '0.04';
requires q{Sub::Identify}, '0.04';
use vars qw( $VERSION $STORAGE_VAR $SCOPE_HOOK_KEY $SCOPE_EXPLICIT );
use B::Hooks::EndOfScope;
-use Stash::Manip;
+use Package::Stash;
use Sub::Identify qw(sub_fullname);
use Sub::Name qw(subname);
my $cleanee = shift;
my $store = shift;
- my $cleanee_stash = Stash::Manip->new($cleanee);
- my $deleted_stash = Stash::Manip->new("namespace::clean::deleted::$cleanee");
+ my $cleanee_stash = Package::Stash->new($cleanee);
+ my $deleted_stash = Package::Stash->new("namespace::clean::deleted::$cleanee");
SYMBOL:
for my $f (@_) {
my $variable = "&$f";
# calling class, all current functions and our storage
my $functions = $pragma->get_functions($cleanee);
my $store = $pragma->get_class_store($cleanee);
- my $stash = Stash::Manip->new($cleanee);
+ my $stash = Package::Stash->new($cleanee);
# except parameter can be array ref or single value
my %except = map {( $_ => 1 )} (
sub get_class_store {
my ($pragma, $class) = @_;
- my $stash = Stash::Manip->new($class);
+ my $stash = Package::Stash->new($class);
return $stash->get_package_symbol("%$STORAGE_VAR");
}
sub get_functions {
my ($pragma, $class) = @_;
- my $stash = Stash::Manip->new($class);
+ my $stash = Package::Stash->new($class);
return {
map { $_ => $stash->get_package_symbol("&$_") }
$stash->list_all_package_symbols('CODE')