Next | Pigs in Space | 31 |
Any object that does Stick::Role::Routable can participate in mapping URLs to actions
It must implement a _subroute method
This gets an array of path components
it should interpret the first few
remove them from the array
return an object to handle the rest
For example, a ledger can provide routes to its consumers
Next | Copyright © 2013 M. J. Dominus |