Keep It Simple, Stupid | |
PerlMonks |
Re^5: How do I prototype a function with a varying number of arguments?by koolgirl (Hermit) |
on Jul 30, 2011 at 02:07 UTC ( [id://917582]=note: print w/replies, xml ) | Need Help?? |
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?
In Section
Seekers of Perl Wisdom
|
|