http://qs1969.pair.com?node_id=608036

dk has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

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) )