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

Catalyst: Using Chained for URL Dispatching and Sane Method Organization

by stonecolddevin (Parson)
on Oct 25, 2009 at 20:40 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: perltutorial [id://803175]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-19 23:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found