On Aug 19, 2006, at 7:37 PM, Leopold Toetsch wrote:
Am Samstag, 19. August 2006 23:30 schrieb Chip Salzenberg:
Runtime errors seem to be off by one these days.
Not "these days" - since a long time. There's a ticket [1] for that
already.
leo
[1] http://rt.perl.org/rt3/Public/Bug/Display.html?id=38594
and WTF - who dared to close that (coke--)
This isn't the same error, it's a different one.
Given code like this:
.sub foo :main
print "hello kitty\n"
P1 = find_global 'q'
print P1
.end
we get the same failure mode in svn head and r13182, reporting the
correct line #3.
However, using something more like chip's example (can't use chips
example exactly in r13182 because None was still around then)
.sub foo :main
null P1
unless P1 goto eek
eek:
.end
We see that this fails the same way in *both*, reporting the error on
line 2. (a line early, just like chip's)
So, this is a new bug, and the old one can stay dead.
Regards.
--
Will "Coke" Coleda
[EMAIL PROTECTED]