![]() |
|
more useful options | |
PerlMonks |
Determining the type of a subroutine parameterby esr (Scribe) |
on Aug 18, 2008 at 14:48 UTC ( #704945=perlquestion: print w/replies, xml ) | Need Help?? |
esr has asked for the
wisdom of the Perl Monks concerning the following question:
I would like to call a subroutine with one of the parameters being either a scalar variable or an array reference. If I were to do that, is there a way in the subroutine to tell which has been specified?
Back to
Seekers of Perl Wisdom
|
|