The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::Widget::Filter::Callback - Lower Case Filter

SYNOPSIS

    my $f = $widget->filter( 'Callback', 'foo' )->callback(sub {
        my $value=shift;
        $value =~ s/before/after/g;
        return $value;
    });

DESCRIPTION

Callback Filter.

METHODS

$self->callback( sub { $value=shift;} );

define the callback to e used for filter. cb is an alias to callback.

$self->filter($value)

AUTHOR

Lyo Kato, lyo.kato@gmail.com

LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.