![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: Tracking down the source of a new 5.10 warningby BrowserUk (Patriarch) |
on Sep 15, 2009 at 22:11 UTC ( [id://795490]=note: print w/replies, xml ) | Need Help?? |
I knew I'd seen this somewhere. Did you see this from perlintern ? The flag SVf_PADSTALE is cleared on lexicals each time the my() is executed, and set on scope exit. This allows the 'Variable $x is not available' warning to be generated in evals, such as I'm not sure what that means, but there is an example following the above quote that, in conjunction with your knowledge of what you are doing, may help you narrow your search. To track it further, you might try Devel::Trace and pipe the output through grep looking for '$x':
I can't get their example to produce the error, but by filtering the output from D::T you ought to be able to locate the source fairly easily. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|