develooper Front page | perl.perl5.porters | Postings from February 2003

[perl #8760]

Thread Next
From:
Jarkko Hietaniemi
Date:
February 3, 2003 07:52
Subject:
[perl #8760]
Message ID:
20030203155216.GF5560@kosh.hut.fi
Here's a weird optree problem for someone, from Jeffrey Friedl...
the old style id was ID 20020304.004,
http://rt.perl.org/rt2/Ticket/Display.html?id=8760
I just added a new message on the issue:

 Still no resolution for this but I created a cutdown version without using
 the charnames pragma:

  $_ = "foo";
  utf8::upgrade($_);
  warn (/bar/i ? "bar" : "no bar");

 and I also spent some time in the debugger and it seems that
 Perl_pp_warn -> Perl_warner -> Perl_vmess -> S_closest_cop
 thinks that CopLINE is zero, and that's why the line and the file
 are not printed.  I have no idea why CopLINE would be zero because
 of case-insensitively matching against a UTF-8-ed scalar (Yes, the /i
 is required.)

-- 
Jarkko Hietaniemi <jhi@iki.fi> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen

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