in reply to Re^3: why doesn't "my ($a,$b)" return a list?
in thread why doesn't "my ($a,$b)" return a list?

yes sorry your right, I misintepreted the results of my tests, confusing the size of @_ with the value of the first parameter.

I just realized in the meantime that this works:

DB<22> sub tst3(\@;@) {print scalar @_} DB<23> use feature 'state'; tst3 @a, state ($x,$y) 3
Thanks :)

Cheers Rolf