Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Help requested to find the cause of an "uninitialized value" messageby andyok (Novice) |
on Jan 25, 2022 at 14:30 UTC ( [id://11140849]=note: print w/replies, xml ) | Need Help?? |
Thank you for your thoughts.
Following a few smaller-test-cases, and reading through all the comments provided, I think I now understand the nature of the error-message ... ... and as you suggest, that the result of eval $dumper is null which when evaluated within %{ .... } is therefore attempting to de-reference a null value. So yes, I can check to see if %info = %{ eval $dumper } results in an empty %info which I can then use as a trigger for a break-point or for some printing of some extra information. Thank you for your thoughts and time. Andrew
In Section
Seekers of Perl Wisdom
|
|