perl <= 5.6 core

[email protected] (Stefan `Sec` Zehl)
Newsgroups perl.golf
Message-ID <[email protected]>
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? :)

It doesn't core if @q contains only one element...

CU,
    Sec
-- 
A bureaucracy is like a computer program.  Usually, the question is
how to arrange it so that what you want is composed of operations that
the bureaucracy supports.  In addition, in any bureaucracy, there is
always *someone* whose job is to approve violations of the rules.
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.