|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re^7: Change DBI database on runtimeby zwon (Monsignor) |
| on Nov 16, 2011 at 12:33 UTC ( #938363=note: print w/ replies, xml ) | Need Help?? |
|
Yes, you're right, I think Catalyst::Model::Factory::PerRequest is not supposed to be extended by replacing ACCEPT_CONTEXT method, it's more like it should extend your class. I recommend you reuse caching from it though, note that it doesn't build new object for the same context twice. Otherwise I think everything is correct.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||