# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #123396]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=123396 >
m: role A::B {}; sub foo(A $a) {}
rakudo-moar 662447: OUTPUT«===SORRY!=== Error while
c
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #123397]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=123397 >
m: role A::B {}; sub foo(A $a) {}
rakudo-moar 662447: OUTPUT«===SORRY!=== Error while
c
hello,
using perl6 version 2014.09 built on MoarVM version 2014.09,
i wrote this code
my %posts = (ls "posts/*/index").map: {
$_ => .IO.lines.map: {
my %h = < date file title >
Z .split(/<[\ \t]>+/,3);
{%h}
}
};
%posts.gist.say;
which outputs
"posts/2014/i
i made it so i reply to myself:
On Tue, Dec 09, 2014 at 08:03:22PM +0100, Marc Chantreux wrote:
> which is almost perfect, but i don't know how to say to perl6 something
> like: I want a nested datastructure so please don't .list.item.
use [] to surround the array
my %posts = (ls "posts/*/ind
# New Ticket Created by Rob Hoelz
# Please include the string: [perl #123400]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=123400 >
The attached code results in the following error:
No such method 'item' for invocant of typ