in reply to RFC: Adding variable name to warning "Use of uninitialized value ??? in ..."
Note also that it's quite hard to avoid false positives. For example, for an empty array @a, in $a[0] + $a[1] at the time of execution of the addition, both args are the same special address &PL_sv_undef, so its not possible to determine whether a particular undef value came from the LHS or the RHS.
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RFC: Adding variable name to warning "Use of uninitialized value ??? in ..."
by LanX (Saint) on Apr 15, 2017 at 14:22 UTC |