I just realized in the meantime that this works:
Thanks :)DB<22> sub tst3(\@;@) {print scalar @_} DB<23> use feature 'state'; tst3 @a, state ($x,$y) 3
Cheers Rolf
In reply to Re^4: why doesn't "my ($a,$b)" return a list?
by LanX
in thread why doesn't "my ($a,$b)" return a list?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |