Quantcast
Channel: Catalyst: global init action - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by RET for Catalyst: global init action

That sort of configuration belongs in the main program, i.e. MyApp.pm, so it is set before you even think about accepting a request. You don't normally want to be configuring database connectivity...

View Article



Catalyst: global init action

In Catalyst framework there is a global init sub(executed before any controller). i want the set some config variable from DB(like supper admin id or admin email for GPG configuration ).i tried to use...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images