Pretty much.
Somewhere near the top of your script, do this:
my $trace_level = 1;
my $trace_file = 'tracefile.txt';
DBI->trace($trace_level, $trace_file);
# ... then the rest of your script
You might want to delete the $trace_file prior to each run. This will make it easier to find
where your problem is.
What can be asserted without proof can be dismissed without proof. - Christopher Hitchens
|