Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Catalyst begin/end methods

by Munkey (Novice)
on Feb 12, 2015 at 08:21 UTC ( [id://1116452]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Catalyst begin/end methods
in thread Catalyst begin/end methods

thank you!

I have ended up moving everything to auto, begin ( I was checking user permission to enter controller ) is better there anyhow - just return 0 to break flow,

end ( preparing things for templates specific to that controller ) did not have to be in end, it was just a matter of taste I guess, and no logical reason to do it there.

After reading the chart: my expectation was off, only the most specific match for begin and end is run. Auto does what I need here.

Thank you for the information, I did not find the part on begin/end ( or overlooked it ) in the docs for some reason.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-26 07:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found