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