Rechercher une page de manuel
Path::Dispatcher::Path.3pm
Langue: en
Version: 2009-12-31 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Path::Dispatcher::Path - path and some optional metadataSYNOPSIS
my $path = Path::Dispatcher::Path->new( path => "/REST/Ticket/1", metadata => { http_method => "DELETE", }, ); $path->path; # /REST/Ticket/1 $path->get_metadata("http_method"); # DELETE
ATTRIBUTES
path
A string representing the path. "Path::Dispatcher::Path" is basically a boxed string. :)metadata
A hash representing arbitrary metadata. The Path::Dispatcher::Rule::Metadata rule is designed to match against members of this hash.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre