package Path::Router::Route::Match; use Moose; our $VERSION = '0.02'; our $AUTHORITY = 'cpan:STEVAN'; has 'path' => (is => 'ro', isa => 'Str', required => 1); has 'mapping' => (is => 'ro', isa => 'HashRef', required => 1); has 'route' => ( is => 'ro', isa => 'Path::Router::Route', required => 1, handles => [qw[target]] ); no Moose; 1; __END__ =pod =head1 NAME Path::Router::Route::Match - The result of a Path::Router match =head1 DESCRIPTION This is the object returned from calling C on a L instance. It contains all the information you would need to do any dispatching nessecary. =head1 METHODS =over 4 =item B This is the path that was matched. =item B This is the mapping of your router part names to the actual parts of the path. If your route had no "variables", then this will be an empty HASH ref. =item B This is the L instance that was matched. =item B This method simply delegates to the C method of the C that was matched. =item B =back =head1 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. =head1 AUTHOR Stevan Little Estevan.little@iinteractive.comE =head1 COPYRIGHT AND LICENSE Copyright 2008 Infinity Interactive, Inc. L This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut