2010/8/16 Octavian Rasnita <[email protected]>:
> Hi,
> I have a module that creates an object (a menu) and I want to store it in
> the stash when the application starts.
> Where is the recommended place to create this object and store it in the
> stash if I want that object created just once at app startup?
> Should I override a certain method in MyApp.pm and create the object there?
> Thanks.
>


That sounds exactly like a model class.

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to