Path::Dispatcher::Path3pm
Path and some optional metadata
Usage
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
Version
version 1.08
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.
Support
Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Path-Dispatcher> (or [email protected] <mailto:[email protected]>).
Copyright and license
This software is copyright (c) 2020 by Shawn M Moore.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Releases
7 releases since Debian 6.0 (Squeeze); the text changed 3 times.