Skip Menu |
Report information
Id: 126858
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: gfldex <wenzel.peppmeyer [at]>

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)

To: rakudobug [...]
From: "Wenzel P. P. Peppmeyer" <wenzel.peppmeyer [...]>
Subject: infinite recursion with put and kinda recursive arrays
Date: Wed, 9 Dec 2015 19:19:33 +0100 (CET)
my @b; @b = @b, 1; put @b; OUTPUT«Memory allocation failed; could not allocate 8192 bytes␤»
Subject: [perl #126858]
Date: Wed, 9 Dec 2015 20:40:38 +0200
From: Aleks-Daniel Jakimenko-Aleksejev <alex.jakimenko [...]>
To: rakudobug [...]
Download (untitled) / with headers
text/plain 155b
Same thing can be achieved with something like this:

my @b;
my @a;
@a[0] = @b;
@b[0] = @a;
say @b

(\Array_194175640 = [[Array_194175640]])

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at