Path::Router::Route(3) An object to represent a route

VERSION

version 0.15

DESCRIPTION

This object is created by Path::Router when you call the "add_route" method. In general you won't ever create these objects directly, they will be created for you and you may sometimes introspect them.

METHODS

new (path = $path, ?%options)>
clone
path
target
has_target
components
length
defaults
has_defaults
validations
has_validations
has_validation_for
create_default_mapping
match
generate_match_code

Component checks

get_component_name ($component)
is_component_optional ($component)
is_component_variable ($component)

Length methods

length_without_optionals

Introspection

meta

BUGS

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.

AUTHOR

Stevan Little <[email protected]>

COPYRIGHT AND LICENSE

Copyright 2008-2011 Infinity Interactive, Inc.

<http://www.iinteractive.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Stevan Little <[email protected]>

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.