Just another Perl shrine | |
PerlMonks |
Re^3: Catalyst begin/end methodsby Munkey (Novice) |
on Feb 12, 2015 at 08:21 UTC ( [id://1116452]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|