Shawn M Moore > Path-Dispatcher-0.12 > Path::Dispatcher::Rule::Eq

Download:
Path-Dispatcher-0.12.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: Path-Dispatcher-0.13

NAME ^

Path::Dispatcher::Rule::Eq - predicate is a string equality

SYNOPSIS ^

    my $rule = Path::Dispatcher::Rule::Eq->new(
        string => 'comment',
        block  => sub { display_comment($2) },
    );

DESCRIPTION ^

Rules of this class simply check whether the string is equal to the path.

ATTRIBUTES ^

string