NAME
Filter::Simple::Compile - Drop-in replacement to Filter::Simple
SYNOPSIS
Drop-in replacement for Filter::Simple:
package MyFilter;
use Filter::Simple::Compile;
FILTER { ... };
This way also works:
use Filter::Simple::Compile sub { ... };
DESCRIPTION
This module lets you write Module::Compile extensions that are compatible with Filter::Simple's API.
Additionally, no Filter::Simple::Compile
does the same thing as use Filter::Simple::Compile
, except the meaning for use
and no
will be reversed for your filter:
package MyFilter;
no Filter::Simple::Compile sub { ... }
# "no MyFilter" begins filtering
# "use MyFilter" terminates it
AUTHORS
Audrey Tang <cpan@audreyt.org>
COPYRIGHT
Copyright 2006 by Audrey Tang <cpan@audreyt.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.