|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re^2: Change DBI database on runtimeby miguelele (Sexton) |
| on Nov 13, 2011 at 15:55 UTC ( #937832=note: print w/ replies, xml ) | Need Help?? |
|
Wow!, isn't it overkill just for a string with the name of the database?, a name that (yes or yes) must be used in each request? It seems strange that I can't split up the connection data from the schema itself I have been looking for info on the plugins you mention. Thank you!! and Factory::PerRequest seems to be a solution, but info is very schematic. I am still learning from tutorials!!! What i have is this model:
- How can I wrap it using Factory::PerRequest and change "dsn" on the fly from a Controller? Regards
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||