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?
oO
Instinctively, I think maybe this is a trick question, but, nonetheless....like this?
&sub ($@[0], $@[1])I mean, technically a reference to a single array element is a scalar variable, so, that would work then....right?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: How do I prototype a function with a varying number of arguments?
by chromatic (Archbishop) on Jul 30, 2011 at 08:25 UTC |
In Section
Seekers of Perl Wisdom