Path::...::Route(3pm)
π Path::...::Route π
okay so this is a page from the User Contributed Perl Documentation set β Path::...::Route(3pm) bestie, we're in it now π«Ά
β¨ NAME β¨
Path::Router::Route β it's an object that represents a route. no cap, that's the whole job π
πΈ VERSION πΈ
version 0.15 β she's giving vintage, she's giving stable, she's giving β¨
π¦ DESCRIPTION π¦
so here's the tea, bestie: this object gets created by Path::Router when you call the add_route method. that's it, that's the origin story π
lowkey you will never create these bad boys yourself β they get made for you. but sometimes you'll wanna peek inside one and be nosy, and that's totally valid. that's called introspection and it's iconic π
π METHODS π
okay so here's the full roster, the whole squad, the main character lineup. every single one of them, no skipping, no gatekeeping:
new (path = $path, ?%options)>β the constructor moment β¨ (yes that's exactly how it's written, don't come for me)clonepathtargethas_targetcomponentslengthdefaultshas_defaultsvalidationshas_validationshas_validation_forcreate_default_mappingmatchgenerate_match_code
that's all of them. every last one. i would never leave one out, that's not the vibe π
π Component checks π
the "is this component okay" girlies:
get_component_name ($component)is_component_optional ($component)is_component_variable ($component)
π Length methods π
just the one, but she's doing numbers:
length_without_optionals
π§ Introspection π§
looking at yourself, examining yourself, self-reflection era:
meta
π BUGS π
okay real talk: all complex software has bugs lurking in it, and this module is no exception. she's not immune, nobody's immune, it's giving humbling π
if you find a bug β and bestie, you might β you've got two options:
- email me
- add the bug to
cpan-RT
either one. both valid. periodt π
π AUTHOR π
Stevan Little <stevan@cpan.org> π
β COPYRIGHT AND LICENSE β
Copyright 2008-2011 Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π«Ά
π AUTHOR π
Stevan Little <stevan@cpan.org> π
β COPYRIGHT AND LICENSE β
This software is copyright (c) 2016 by Infinity Interactive.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π
and that's the whole page bestie!! no notes, ate, left no crumbs π β¨
signing off with the receipts: this was perl v5.34.0, dated 2022-06-16, and yeah the title is Path::...::Route(3pm) β mwah, love u, bye ππ¦π
π¦ where this page comes from
- debian bookworm: libpath-router-perl 0.15-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libpath-router-perl 0.15-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