No I can't send code that reproduces the problem because it is not reproducable at will. It has happened once (so far) and in a line of code some 200 lines past any changes I made to the program. It has all the earmarks of something earlier leaving a turdlet lying around and the later code is stepping in it. Besides, it appears that this error also caused the Perl interpreter/compiler to blow up. The Windows Event Viewer shows application errors for perl.exe with the description "Fault bucket".
However, for whatever help it might be the line which was attributed to the error is the last in this sequence:
@sess_funcs = ("F1E","F1W","F1N","F1S");
@v_funcs = ("$oev_code","$oevc_code");
@eprep_funcs = ("$oe_e","$e_e");
@ev_funcs = (@sess_funcs,@v_funcs,@eprep_funcs);
The last block of code added to the program was some 200 lines earlier: if (! $date_to_use) {
$msg = "Enter or confirm the date to schedule. \n";
while (! $date_to_use) {
$msg .= " (mmmdd, mmmd, or mmm dd)\.\n";
$intext = $excel->InputBox("$msg","Enter date","$assumed_date"
+);
go_away(16,"Quitting as requested\.") if ($intext eq "0");
$date_to_use = check_date($intext);
$msg = "Date error. Re-enter.\n" if (! $date_to_use);
}
}
What I am trying to understand it what is meant by trying to "coerce UNKNOWN" and what a "gv" is. I can guess that "gv" might be a global variable but I don't know that. A Google search for the string "coerce UNKNOWN" shows other people seeing a similar message but I don't see any explanation for what it means. |