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.

In reply to Re: strange error message by esr
in thread strange error message by esr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.