use Carp 'confess';
use Package::Stash;
-our $VERSION = '1.10';
+our $VERSION = '1.11';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
sub add_package_symbol {
my $self = shift;
- $self->_package_stash->add_package_symbol(@_);
+ $self->_package_stash->add_symbol(@_);
}
sub remove_package_glob {
my $self = shift;
- $self->_package_stash->remove_package_glob(@_);
+ $self->_package_stash->remove_glob(@_);
}
# ... these functions deal with stuff on the namespace level
sub has_package_symbol {
my $self = shift;
- $self->_package_stash->has_package_symbol(@_);
+ $self->_package_stash->has_symbol(@_);
}
sub get_package_symbol {
my $self = shift;
- $self->_package_stash->get_package_symbol(@_);
+ $self->_package_stash->get_symbol(@_);
}
sub get_or_add_package_symbol {
my $self = shift;
- $self->_package_stash->get_or_add_package_symbol(@_);
+ $self->_package_stash->get_or_add_symbol(@_);
}
sub remove_package_symbol {
my $self = shift;
- $self->_package_stash->remove_package_symbol(@_);
+ $self->_package_stash->remove_symbol(@_);
}
sub list_all_package_symbols {
my $self = shift;
- $self->_package_stash->list_all_package_symbols(@_);
+ $self->_package_stash->list_all_symbols(@_);
+}
+
+sub get_all_package_symbols {
+ my $self = shift;
+ $self->_package_stash->get_all_symbols(@_);
}
1;