Thank you for your comments.
I have created a small test-case which at least causes the same error-message to be generated.
(I appreciate that many causes may generate the same error-message).
In my small test-case, if I have a "corrupted"
$dumped that is passed to
eval, then I get the same error-message.
And by corrupted, I mean:
- that the collection/appending of snippets of string from read() onto $collected
- followed by the extraction of one framed message
- followed by the complete nulling of $collected without testing to see if there is a residue of text that should be preserved
could result in a ill-formated string that gets passed to
eval.
And, in such an instance, I note that the result of the
eval results in a
%info that is empty.
(It never crossed my mind to consider that
%info = %{ eval $dumper}</code} would result in a null
%info.)
So this then becomes another possible trigger for break-pointing or printing out extra information at/around the failure point.
Thank you for your thoughts and time.
Andrew
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.