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

[perl #121374] Wrong line number in signature errors

Thread Previous | Thread Next
From:
l.mai@web.de via RT
Date:
October 28, 2014 20:31
Subject:
[perl #121374] Wrong line number in signature errors
Message ID:
rt-4.0.18-22214-1414528280-968.121374-15-0@perl.org
On Mon Oct 27 15:52:09 2014, sprout wrote:
> On Mon Oct 27 15:05:43 2014, mauke- wrote:
> > ... Or I could change all of those to qr/\AToo many arguments for
> > subroutine at \(eval \d+) line 1\.$/. That would keep the string eval
> > but make sure the reported location refers to the call.
> > 
> > Suggestions?
> 
> Another approach is to add more tests to t/lib/croak/toke.
> 
> Do it whichever way makes it easiest for you.

OK! Test patch attached.



---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=121374

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About