As mentioned in OP, I'm trying to ensure there is nothing technically wrong with setting up a new DB handler when switching to a new database. Since I'm not an expert on the underpinnings of OO and DBI, I'm worried there might be some kind of weird interaction that I might be missing. Maybe this might create database connections that never die, for example. I just don't know. I've come to learn that I'll often go down paths that lead to trouble. The benefit is I learn a lesson, but at the expense of a lot of time lost. I'm just trying to avoid that pain. I also enjoy seeing ideas from other Monks on my code. I always learn something new when I post here like the suggestion to use a config file above, which I hadn't thought of. I'm a hobbyist. But if you want to take me under your wing and turn me into a programming guru, let me know.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
In reply to Re^4: Moose::Role to provide DBI interface
by nysus
in thread Moose::Role to provide DBI interface
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |