develooper Front page | perl.perl5.porters | Postings from September 2014

[perl #119415] report more variable names in warning and error messages

James E Keenan via RT
September 22, 2014 23:11
[perl #119415] report more variable names in warning and error messages
Message ID:
On Wed Aug 21 18:33:36 2013, tonyc wrote:
> This is a bug report for perl from,
> generated with the help of perlbug 1.39 running under perl 5.19.3.
> -----------------------------------------------------------------
> [Please describe your issue here]
> Currently perl reports variable names for only a limited number of
> warning and error messages.
> It would be useful if they could be reported for more messages.
> Some examples:
> Can't call method "foo" on an undefined value
> Use of reference "SCALAR(0x1e8dbf0)" as array index
> Argument "a" isn't numeric in multiplication (*)


I see all of the above warnings listed above in core source code and tests.

Can you give examples of other warnings which should similarly interpolate variable names?

Thank you very much.

James E Keenan (

via perlbug:  queue: perl5 status: new Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About