NAME
Path::Router::Route - An object to represent a route
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
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 Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.