develooper Front page | perl.perl6.compiler | Postings from January 2012

[perl #108508] [BUG] Array doesn't get numified

From:
trixium @ web . de
Date:
January 18, 2012 07:14
Subject:
[perl #108508] [BUG] Array doesn't get numified
Message ID:
rt-3.6.HEAD-14510-1326875638-777.108508-82-0@perl.org
# New Ticket Created by  trixium@web.de 
# Please include the string:  [perl #108508]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=108508 >


my @a1=1,2,3,4; my @a2=@a1[2 ..^ @a1]; my @a3=@a2[1 ..^ @a2]
hangs the machine.
$ perl6 --version
This is perl6 version 2011.12-140-g0ac25d0 built on parrot 3.11.0 revision RELEASE_3_11_0

$ uname -a
Linux black 2.6.38-13-generic #53-Ubuntu SMP Mon Nov 28 19:33:45 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Encountered that problem first with a code example from rosetta code:
http://rosettacode.org/wiki/Sorting_algorithms/Merge_sort#Perl_6



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About