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

[perl #121374] Wrong line number in signature errors

Thread Previous
James E Keenan via RT
September 24, 2014 01:42
[perl #121374] Wrong line number in signature errors
Message ID:
On Tue Mar 04 01:17:31 2014, jv wrote:
> Signature errors like "Too few arguments for subroutine" are shown
> with the line number of the subroutine definition. They should show
> the line number of the actual subroutine call.
> The attached program shows:
> The signatures feature is experimental at /home/jv/tmp/ line 7.
> This is correct, for that's the line the subroutine using the
> signature is defined. But then:
> Testing call at line 13
> Too few arguments for subroutine at /home/jv/tmp/ line 7.
> This should be line 13.

Confirmed as present in blead.
$ ./perl -v | head -2 | tail -1
This is perl 5, version 21, subversion 5 (v5.21.5 (v5.21.4-63-g0c7df90)) built for x86_64-linux

This RT was not received any comment since it was filed 6 months ago.

Do people agree that we have a problem?

Can someone take a crack at providing a solution?

Thank you very much.

James E Keenan (

via perlbug:  queue: perl5 status: new

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About