My 'die' commands have never worked...if a file access really doesn't work, I just get a blank page and then have to go back and put a bunch of: print "you are here1"; type of displays in my code to see where I got to.
Here is an example one that doesn't work. (This is for DB2)
$DBH=DBI->connect('DBI:ODBC:test', 'db2', 'testpass') or
die "Could not connect to the agency database";
I can change my database name from 'test' to one that doesn't exist, and the program definitely jumps off a cliff, but I don't get the message. I get a blank screen. This has been a major headache for me for quite a while. All of my 'die' commands in the system are acting this way.
Any ideas on this would be greatly appreciated.
Thanks!
Kathy
Here is an example one that doesn't work. (This is for DB2)
$DBH=DBI->connect('DBI:ODBC:test', 'db2', 'testpass') or
die "Could not connect to the agency database";
I can change my database name from 'test' to one that doesn't exist, and the program definitely jumps off a cliff, but I don't get the message. I get a blank screen. This has been a major headache for me for quite a while. All of my 'die' commands in the system are acting this way.
Any ideas on this would be greatly appreciated.
Thanks!
Kathy