Query: path::dispatcher::path
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Path::Dispatcher::Path(3pm) User Contributed Perl Documentation Path::Dispatcher::Path(3pm)NAMEPath::Dispatcher::Path - path and some optional metadataSYNOPSISmy $path = Path::Dispatcher::Path->new( path => "/REST/Ticket/1", metadata => { http_method => "DELETE", }, ); $path->path; # /REST/Ticket/1 $path->get_metadata("http_method"); # DELETEATTRIBUTESpath 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. perl v5.12.4 2011-08-30 Path::Dispatcher::Path(3pm)