Path::...::Path(3pm)
β¨ Path::...::Path(3pm) β¨
okay bestie, so this is a page from the User Contributed Perl Documentation β it's the manual for a lil Perl module called Path::Dispatcher::Path, and it lives inside the Path::Dispatcher fam. π
πΈ NAME πΈ
Path::Dispatcher::Path β it's a path and, like, optionally some metadata too. lowkey iconic. π
π VERSION π
version 1.08 β that's the one, no cap. β¨
π¦ SYNOPSIS π¦
here's the vibe, copy it exactly bestie:
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
look at her go. π₯Ήβ¨
π ATTRIBUTES π
π path
a string that represents the path. and honestly? Path::Dispatcher::Path is basically just a boxed string. that's it. that's the whole thing. :)
π metadata
a hash holding arbitrary metadata β whatever you want, bestie, it's your world. the Path::Dispatcher::Rule::Metadata rule is literally designed to match against members of this hash, so this is where the β¨matchingβ¨ happens. iykyk.
π«Ά SUPPORT π«Ά
got bugs? π don't suffer in silence, submit them through the RT bug tracker:
<https://rt.cpan.org/Public/Dist/Display.html?Name=Path-Dispatcher>
or you can email them to bug-Path-Dispatcher@rt.cpan.org (that's bug-Path-Dispatcher@rt.cpan.org). π
π AUTHOR π
Shawn M Moore, <sartak at bestpractical.com> β king behavior, fr fr. π
πΈ COPYRIGHT AND LICENSE πΈ
this software is copyright (c) 2020 by Shawn M Moore. π
and it's free software, so you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay. periodt. β¨
okay that's the whole page, bestie, you're all caught up π
this was written for perl v5.30.3, dated 2020-07-13, and it's the Path::...::Path(3pm) page β mwah, go forth and dispatch paths π
β¨
π¦ where this page comes from
- debian bookworm: libpath-dispatcher-perl 1.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libpath-dispatcher-perl 1.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libpath-dispatcher-perl 1.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libpath-dispatcher-perl 1.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libpath-dispatcher-perl 1.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libpath-dispatcher-perl 1.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms