|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: DBI / Mysql connectionsby monsieur_champs (Curate) |
| on Dec 03, 2004 at 11:24 UTC ( #412087=note: print w/ replies, xml ) | Need Help?? |
|
Dear cyril: An alternative solution could be provide a closure that knows about the database connection and Just Do The Right Thing:
About your second question, I guess the first contact is at the time you call DBI::Connect(): your password needs verification so the DBI/DBD engine makes sure you have authorization to connect to the specified database or if there is an error condition to be reported. Of course, this behavior depends on what DBD driver you're using.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||