Path::Dispatcher::Rule::Enum.3pm

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

Path::Dispatcher::Rule::Enum - one of a list of strings must match

SYNOPSIS

     my $rule = Path::Dispatcher::Rule::Enum->new(
         enum  => [qw(perl ruby python php)],
         block => sub { warn "$1 rules!" },
     );
 
 

DESCRIPTION

Rules of this class check whether the path matches any of its ``enum'' strings.

ATTRIBUTES

enum

case_sensitive