Re: perl <= 5.6 core

[email protected] (Paul Johnson)
Newsgroups perl.golf
Message-ID <[email protected]>
On Sat, Oct 05, 2002 at 01:32:24PM +0200, Stefan `Sec` Zehl wrote:

> Hi,
> 
> 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 :-)

Can't think why off the top of my head.

-- 
Paul Johnson - [email protected]
http://www.pjcj.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.