I've just stumbled on the impossibility of prototyping a sub that must accept arbitrary number of arguments. Basically, I need something like sub ttt(\@;\@...) where ... is ellipsis, so one or more arrays can be passed by reference. I know that perlsub doesn't say anything about this, but possibly someone heard of a relevant XS hack? Thank you.
( PS. Yes, I surely can sub ttt(@); ttt(\@a,\@b,\@c) but it is not at all as interesting as ttt(@a,@b,@c) )
In reply to prototypes: so many \@'s? by dk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |