Dear Monks,
How can I prevent my script from bombing if the host I'm quering is not up.
my $dsn = "DBI:mysql:host=192.168.1.100:database=testdb";
I want to do something like this but my script exits out:
if ($UP) {
Query blah blah;
} else {
Read from file;
}
Thanks