Jess Robinson > HTML-Widget-1.05 > HTML::Widget::Filter::Callback

Download:
HTML-Widget-1.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  4
View/Report Bugs
Source   Latest Release: HTML-Widget-1.11

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.

syntax highlighting: