in reply to DBI Connect Error Trapping
You didn't say this explicitly, but if you'd like to really "trap" those error messages so they don't get spit out to the screen when your script runs, use the PrintError attribute with your connect statement. Eg:
my $dbh = DBI->connect("dbi:Oracle:DB", "user", "pwd", {PrintError => +0}) || die("Unable to connect to DB. Error was: $DBI->errstr\n");
~CubicSpline
"No one tosses a Dwarf!"
|
|---|