Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: RFC: Adding variable name to warning "Use of uninitialized value ??? in ..."

by LanX (Chancellor)
on Apr 15, 2017 at 14:58 UTC ( #1188003=note: print w/replies, xml ) Need Help??


in reply to RFC: Adding variable name to warning "Use of uninitialized value ??? in ..."

Brainstorm:

To Do
  • cover more cases , not only concatenation , printf and sprintf , like addition and join . (...where do I find a complete list?)
  • test false positives
  • make SIG handler collaborating with older hooks, like for diagnostics
  • test package variables
  • test global variables ,symbols, barewords
  • cover slices like @a[0..2]
  • test with different Perl versions in perlbrew
  • handle call from filescope and eval
* 17.4.2017
  • handle multiple statements in same line
Nice to Have
  • report original source line too
  • patch B::Deparse instead of parsing string output
  • add hooks for further customization by user
  • handle tied variables

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1188003]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2017-06-29 03:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (653 votes). Check out past polls.