> # I define > my @dice = > ( > # type pips on first die pips on second die tally > ('normal', (1, 2, 3, 4, 5, 6), (1, 2, 3, 4, 5, 6), 0 xx 14), > ('Sicherman', (1, 3, 4, 5, 6, 8), (1, 2, 2, 3, 3, 4), 0 xx 14) > ); > # and later do > @dice[1;3;2]++; > # and get > # Cannot resolve caller postfix:<++>(Int); the following candidates > # match the type but require mutable arguments:
I should have used [ and ] instead of ( and ) in the definition for @dice. Sorry for my mistake. -mark