Skip Menu |
 

This queue is for tickets about the again CPAN distribution.

Report information
The Basics
Id: 127345
Status: new
Priority: 0/
Queue: again

People
Owner: Nobody in particular
Requestors: bokutin [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)

Attachments


Subject: _unload_module
Download (untitled) / with headers
text/plain 759b
Hello. I frequently use again.pm. I think that it is better to change _unload_module. # original https://st.aticpan.org/source/NEILB/again-0.08/lib/again.pm sub _unload_module { my $package = shift; my $symbol_table = $package.'::'; no strict 'refs'; foreach my $symbol (keys %$symbol_table) { next if $symbol =~ /\A[^:]+::\z/; delete $symbol_table->{$symbol}; } } # to use Package::Stash; sub _unload_module { my $package = shift; my $stash = Package::Stash->new($package); for ($stash->list_all_symbols) { for my $sigil (qw($ @ % &), '') { $stash->remove_symbol("$sigil$_"); } } } Please see the attached file for details. Thanks for your time. I know you're busy.
Subject: again-reuse_globs-0.03.tar.gz

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.