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

[perl #122695] a perl interpreter bug on line number in error message

Thread Previous
From:
Father Chrysostomos via RT
Date:
October 22, 2014 05:13
Subject:
[perl #122695] a perl interpreter bug on line number in error message
Message ID:
rt-4.0.18-10170-1413954831-1350.122695-15-0@perl.org
On Mon Sep 08 10:02:50 2014, ikegami@adaelis.com wrote:
> On Mon, Sep 8, 2014 at 11:33 AM, Father Chrysostomos via RT <
> perlbug-followup@perl.org> wrote:
> 
> > but ultimately the underlying problem still exists: only one line number
> > per statement.  So if you have die() twice in the same statement, on
> > different lines, one of them will give the wrong number.
> >
> 
> I'm quite aware of that, but that's a different problem (and one I can live
> with).
> 
> In this case, it's the opposite problem. We have two statements and one
> line number.

Sorry.  I was so stuck on the harder problem, I didn’t see the obvious.  Something is probably up with copline.  I’ll look into this.

-- 

Father Chrysostomos


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

Thread Previous


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