in reply to Re^3: determine the variable causing the error: Use of uninitialized value
in thread determine the variable causing the error: Use of uninitialized value
> 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
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: determine the variable causing the error: Use of uninitialized value (hack)
by LanX (Saint) on Apr 15, 2017 at 01:25 UTC | |
Re^5: determine the variable causing the error: Use of uninitialized value
by ruqui (Acolyte) on Apr 16, 2017 at 02:37 UTC | |
by LanX (Saint) on Apr 16, 2017 at 11:38 UTC |
In Section
Seekers of Perl Wisdom