http://www.perlmonks.org?node_id=917597


in reply to Re^4: How do I prototype a function with a varying number of arguments?
in thread How do I prototype a function with a varying number of arguments?

How do you pass the elements of a two-item array to a function with the $$ prototype?
sub foo ($$) {...} my @array = (1, 2); &foo(@array);
;-)