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

Download:
Path-Dispatcher-1.05.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

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

SYNOPSIS ^

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

DESCRIPTION ^

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

ATTRIBUTES ^

string

syntax highlighting: