Path::Dispatcher::Rule::Eq.3pm

Langue: en

Version: 2010-03-16 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

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

SYNOPSIS

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

DESCRIPTION

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

ATTRIBUTES

string