Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Path::Dispatcher::PathUser Contributed Perl DocumentaPath::Dispatcher::Path(3)

NAME
       Path::Dispatcher::Path -	path and some optional metadata

VERSION
       version 1.08

SYNOPSIS
	   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.

SUPPORT
       Bugs may	be submitted through the RT bug	tracker
       <https://rt.cpan.org/Public/Dist/Display.html?Name=Path-Dispatcher> (or
       bug-Path-Dispatcher@rt.cpan.org <mailto:bug-Path-
       Dispatcher@rt.cpan.org>).

AUTHOR
       Shawn M Moore, "<sartak at bestpractical.com>"

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.

perl v5.32.1			  2020-07-12	     Path::Dispatcher::Path(3)

NAME | VERSION | SYNOPSIS | ATTRIBUTES | SUPPORT | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Path::Dispatcher::Path&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help