[Catalyst] Catalyst global object

Michele Beltrame mb at italpro.net
Wed Jul 13 15:30:06 CEST 2005


Hi!

> For reference, if there's an object I need to create at the start of
> every request, is there a method I can create in MyApp.pm which will
> get called at the start of every request? the opposite of end
> basically, probably called something like sub start : private {} .

There are the "begin" and "auto" methods which will do, in different
ways, what you need. Take a look at Catalyst::Manual::Intro and you'll
find them described.

	Michele.

-- 
Michele Beltrame
http://www.massainforme.it/mb/
ICQ# 76660101
Informativa privacy: http://www.italpro.net/em.html



More information about the Catalyst mailing list