Path::Router::Route - An object to represent a route


Path-Router documentation  | view source Contained in the Path-Router distribution.

Index


NAME

Top

Path::Router::Route - An object to represent a route

DESCRIPTION

Top

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

Top

new (path = $path, ?%options)>
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

Top

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

Top

Stevan Little <stevan.little@iinteractive.com>

COPYRIGHT AND LICENSE

Top


Path-Router documentation  | view source Contained in the Path-Router distribution.