NAME

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

VERSION

version 0.11

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)>
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 <stevan.little@iinteractive.com>

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 <stevan@iinteractive.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 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.