Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Catalyst: Using Chained for URL Dispatching and Sane Method Organization

by stonecolddevin (Vicar)
on Oct 25, 2009 at 20:40 UTC ( #803175=perltutorial: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
     # step one:
     # set up a base method to make sure your item exists, and
  2. or download this
     sub base : Chained('/') PathPart('item') CaptureArgs(1)
  3. or download this
     ## the next part is to link the end point to the chain
     ## thisis done by passing the name of the base chain method to Chaine
    +d for this method
  4. or download this
     sub blog : Chained('/') PathPart('blog') CaptureArgs(0) {

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perltutorial [id://803175]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2015-10-10 15:49 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (257 votes), past polls