Perl: the Markov chain saw | |
PerlMonks |
Quick question on a Perl Code!by dudydude (Novice) |
on Jul 13, 2011 at 21:36 UTC ( [id://914236]=perlquestion: print w/replies, xml ) | Need Help?? |
dudydude has asked for the wisdom of the Perl Monks concerning the following question: Hi fellow Monks, I am reading a code that somebody wrote and I am trying to make sense of it. What does it mean if they pass a ($) or ($$) to a subroutine? For Example:: sub mysub1($) sub mysub2($$) PLEASE NOTE I DIDN'T WRITE THE WHOLE CODE INSIDE, BUT IT IS A SUBROUTINE WHAT DOES $ STAND FOR?
Back to
Seekers of Perl Wisdom
|
|