I have a perl script which creates a PDF file from data in a table.
This morning I was making some modifications to it, and it stopped
working with a "Couldn't get mydata handle" error. I restored the
original file, but it still fails with that error, even after
rebooting the machine. Here is the pertinent code:
my $dbh = $Sql{mydata} or die "Couldn't get mydata handle\n";
The table "mydata" is still being read and written to just fine. Does
anyone know what causes a line like the above to fail? I'm very
confused because I restored the original file which was working before
I started modifying it.
- Grant
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/