[Catalyst] Store something in the stash at startup
jshirley at gmail.com
Mon Aug 16 19:32:12 GMT 2010
2010/8/16 Octavian Rasnita <orasnita at gmail.com>:
> 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?
That sounds exactly like a model class.
More information about the Catalyst