XP is just a number | |
PerlMonks |
Calling subroutine with a scalarby Rodster001 (Pilgrim) |
on May 06, 2015 at 18:07 UTC ( [id://1125879]=perlquestion: print w/replies, xml ) | Need Help?? |
Rodster001 has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I know this has been asked endlessly, but I am doing it slightly different than I have done before and I cannot quite get the syntax right.
What I want to do is call "subroutine" by variable. For example: That doesn't work, I've tried several variations of that (along with \&) and I can't quite get it. Can someone enlighten me? Thanks!
Back to
Seekers of Perl Wisdom
|
|