good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^4: Help requested to find the cause of an "uninitialized value" messageby andyok (Novice) |
on Jan 25, 2022 at 13:52 UTC ( [id://11140847]=note: print w/replies, xml ) | Need Help?? |
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:
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
In Section
Seekers of Perl Wisdom
|
|