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

Re: [perl #22372] [PATCH] sv_chop() broken

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
May 31, 2003 02:15
Subject:
Re: [perl #22372] [PATCH] sv_chop() broken
Message ID:
20030531101503.G1149@plum.flirble.org
On Sat, May 31, 2003 at 11:10:56AM +0200, Rafael Garcia-Suarez wrote:
> Enache Adrian wrote:
> > +{
> > +    my $el;
> > +    format STDOUT =
> > +ok ^<<<<<<<<<<<<<<~~ # sv_chop() naze
> > +$el
> > +.
> > +    my %hash = (12 => 3);
> > +    for $el (keys %hash) {
> > +	write;
> > +    }
> > +}
> > +
> > +# 13..48: scary format testing from Merijn H. Brand
> 
> This outputs nothing for me.

I was playing with trying to make a regression test last night
(before I realised that Enache Adrian has already solved the bug)
and I was having trouble making output.

I was thinking that the only reliable way I could think of to make sure
the test made the bug happen was to spawn off a fresh perl.

Nicholas Clark

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