Hi,
I there a way to prevent some type of mistake I now have made several
times merely because the error messages are not helping me to point to
the problem.
Example;
grammar Turtle::Grammar {
rule TOP { statement* }
...
rule directive { prefix-id | base }
...
rule
On 08/02/2015 02:35 PM, Lloyd Fournier wrote:
@a = $z[0].list
or in a less documented way:
@a = $z[0]
The idea is that you can store an array in ether a @ or $ variable.
Where as in perl5 you could only store a reference in $ variable. The
sigil simply tells perl6 how it should behave
On Sun, Aug 02, 2015 at 10:35:23PM +1000, Lloyd Fournier wrote:
If you want to assign to an array which is an element of another array:
@a = $z[0].list
this is very confusing because this is not a LoL. $z.flat seems more
intuitive to me.
--
Marc Chantreux (eiro on github and freenode)