Carl Franks > HTML-Widget-1.11 > HTML::Widget::Filter::Callback

Download:
HTML-Widget-1.11.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  4
View/Report Bugs
Source  

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 ^

callback ^

Argument: \&callback

Define the callback to be used for filter.

"cb" is an alias for "callback".

filter

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.

syntax highlighting: