Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2014-10-25 06:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (142 votes), past polls