more useful options | |
PerlMonks |
Re^4: determine the variable causing the error: Use of uninitialized valueby LanX (Saint) |
on Apr 13, 2017 at 19:35 UTC ( [id://1187872]=note: print w/replies, xml ) | Need Help?? |
> it doesn't work with more complex structures like hashes (or references to hashes) To rephrase it, your problem are undefined elements of data structures like $h{x}. I don't think there is any out of the box solution and you'd need to send a feature request. As a side note: a hack could be to add a signal handler which parses the OP tree at the caller for all undefined entries . But that's far from trivial.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|