On Sat, Oct 05, 2002 at 10:07:23PM -0000, Rafael Garcia-Suarez wrote:
> Paul Johnson wrote in perl.golf :
> > On Sat, Oct 05, 2002 at 01:32:24PM +0200, Stefan `Sec` Zehl wrote:
> >>
> >> while playing with ton-s winning golf entry, I noticed
> >>
> >> perl -le '@q=(1,2);map{print $_ for @q}@q'
> >>
> >> dumps core for me in 5.6 and 5.00503. Now I really wonder why this might
> >> be, it sure looks sane to me. Does anybody have an idea? :)
> >
> > Dumps in 5.6.1 and 5.8.0 too :-(
> >
> > It's fixed in bleadperl though :-)
>
> No, it's not, at least not for me -- and the cause is not immediately
> obvious to me, so I suggest that you perlbug it, inserting your
> "bleadperl -V" output (from your bleadperl that doesn't chokes on it.)
You're right. I must have just been "lucky" as the code goes romping
through the stack. Unfortunately, I can't fix it, but there is a
perlbug report winging its way around the world with a TODO test
attached.
I golfed the bug down to perl -e 'map { 1 for () } 1 .. 2' :-)
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net