develooper Front page | perl.perl5.porters | Postings from August 2008

RE: Smoke [5.11.0] 34226 FAIL(F) MSWin32 WinXP/.Net SP3 (x86/2 cpu)

Thread Previous | Thread Next
From:
Steve Hay
Date:
August 26, 2008 04:45
Subject:
RE: Smoke [5.11.0] 34226 FAIL(F) MSWin32 WinXP/.Net SP3 (x86/2 cpu)
Message ID:
1B32FF956ABF414C9BCE5E487A1497E70236DEF5@ukmail02.planit.group
Nicholas Clark wrote:
> On Tue, Aug 26, 2008 at 12:30:25PM +0100, Steve Hay wrote:
>> Nicholas Clark wrote:
>>> On Tue, Aug 26, 2008 at 04:39:00AM +0100, Steve Hay wrote:
>>> 
>>>> op/local.t..................................................FAILED
>>>>     121
>>> 
>>> I'm confused as to why that fails. Could you send the long output?
>> 
>> It's not very long, but here it is:
>> 
>> [...]
>> ok 120
>> # Failed at op/local.t line 454
>> #      got ''
>> # expected /ok/
>> not ok 121 - [perl \#52740]
>> ok 122 - Localised *@
>> [...]
> 
> Mmm. What happens if you run its little test program from the command
> line: 
> 
> $ ./perl -Ilib
> use constant foo => q(a);
> index(q(a), foo);
> local *g=${::}{foo};print "ok";
> __END__
> ok
> 
> And does it work better if that "ok" becomes "ok\n" ?

It outputs "ok".
If I change "ok" to "ok\n" then it outputs "ok
".

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