http://www.perlmonks.org?node_id=1202244

Perl 6 tries to flatten lists. This:
my $a = [[["hello"]]]; #not a 3d array!, same as: ["hello"]
is not what you might think it is, as single element lists get flattened. To get what you mean you must write
my $a = [[["hello"],],]; #now it is!
Note the trailing comma. See also 2015 The Year of The Great List Refactor.


holli

You can lead your users to water, but alas, you cannot drown them.