Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 surveying the Monastery: (5)
As of 2015-07-03 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls