Package : perl-B-Hooks-OP-Check-StashChange
Package details
Summary: Invoke callbacks when the stash code is being compiled in changes
Description:
Invoke callbacks when the stash code is being compiled in changes.
From Perl:
<CODE>
package Foo;
use B::Hooks::OP::Check::StashChange;
our $id = B::Hooks::OP::Check::StashChange::register(sub {
my ($new, $old) = @_;
warn "${old} -> ${new}";
});
package Bar; # "Foo -> Bar"
B::Hooks::OP::Check::StashChange::unregister($Foo::id);
package Moo; # callback not invoked
</CODE>
URL: http://search.cpan.org/dist/B-Hooks-OP-Check-StashChange
License: GPL+ or Artistic
Maintainer: nobody
Description:
Invoke callbacks when the stash code is being compiled in changes.
From Perl:
<CODE>
package Foo;
use B::Hooks::OP::Check::StashChange;
our $id = B::Hooks::OP::Check::StashChange::register(sub {
my ($new, $old) = @_;
warn "${old} -> ${new}";
});
package Bar; # "Foo -> Bar"
B::Hooks::OP::Check::StashChange::unregister($Foo::id);
package Moo; # callback not invoked
</CODE>
URL: http://search.cpan.org/dist/B-Hooks-OP-Check-StashChange
License: GPL+ or Artistic
Maintainer: nobody
List of RPMs
- perl-B-Hooks-OP-Check-StashChange-0.60.0-4.mga4.src.rpm (Mageia 4, x86_64 media, core-release)