GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HTTP::Router::Route(3) User Contributed Perl Documentation HTTP::Router::Route(3)

HTTP::Router::Route - Route Representation for HTTP::Router

  use HTTP::Router;
  use HTTP::Router::Route;

  my $router = HTTP::Router->new;

  my $route = HTTP::Router::Route->new(
      path       => '/',
      conditions => { method => 'GET' },
      params     => { controller => 'Root', action => 'index' },
  );

  $router->add_route($route);

Returns a HTTP::Router::Match object, or "undef" if route does not match a given request.

Appends path to route.

Adds parameters to route.

Adds conditions to route.

Extracts variable values from $path, and returns variable hash.

Returns a path which is processed with parameters.

Path string for route.

Route specific parameters.

Conditions for determining route.

URI::Template::Restrict representation with route path.

Size of splitting route path with slash.

Variable names in route path.

NAKAGAWA Masaki <masaki@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

HTTP::Router
2010-03-18 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.