---
name: "Path::Router::Route::Match"
section: "3pm"
platform: "linux"
package: "libpath-router-perl"
version: "0.15-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Path::Router::Route::Match"
---

# Path::Router::Route::Match(3pm)

The result of a Path::Router match

## NAME

Path::Router::Route::Match - The result of a Path::Router match

## VERSION

version 0.15

## DESCRIPTION

This is the object returned from calling `"match"` on a Path::Router instance. It contains all the information you would need to do any dispatching nessecary.

## METHODS

- **new**

  - **path**

  This is the path that was matched.

- **mapping**

  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.

- **route**

  This is the Path::Router::Route instance that was matched.

- **target**

  This method simply delegates to the `"target"` method of the `"route"` that was matched.

- **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@cpan.org\>

## 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@cpan.org\>

## 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.
