Perl6-Binding
view release on metacpan or search on metacpan
lib/Perl6/Binding.pm view on Meta::CPAN
This library is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
=cut
##==============================================================================
## import - install the filter
##==============================================================================
sub import {
my $caller = (caller)[1];
unless ($INSTALLED{$caller}) {
shift;
filter_add({ @_ });
$INSTALLED{$caller} = 1;
}
}
##==============================================================================
## unimport - uninstall the filter
##==============================================================================
sub unimport {
my $caller = (caller)[1];
if ($INSTALLED{$caller}) {
filter_del();
delete $INSTALLED{$caller};
}
}
##==============================================================================
## filter - do the actual work
##==============================================================================
sub filter {
( run in 2.497 seconds using v1.01-cache-2.11-cpan-a3c8064c92c )