Perl Monk, Perl Meditation | |
PerlMonks |
Test mysql connection, and return nice message?by ultranerds (Hermit) |
on Mar 13, 2010 at 14:49 UTC ( [id://828446]=perlquestion: print w/replies, xml ) | Need Help?? |
ultranerds has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I'm trying to write an install script, and need to test if the mySQL DB details the give are ok. Now, to do this I'm using:
The problem seems to be, that it never pushes that error into @errors for me though (just gives a fatal error, as I use fatalsToBrowser) Any suggestions? TIA Andy
Back to
Seekers of Perl Wisdom
|
|