Scroll to navigation

HTML::Widget::Filter::Callback(3pm) User Contributed Perl Documentation HTML::Widget::Filter::Callback(3pm)

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.

2022-06-14 perl v5.34.0