|There's more than one way to do things|
passing paramters to a subby jimbus (Friar)
|on Aug 29, 2005 at 22:13 UTC||Need Help??|
jimbus has asked for the
wisdom of the Perl Monks concerning the following question:
I'm confused by something that seems it should be simple. How do I pass a $ and a % to a sub?
I was trying
which got me the first value of the hash. I thried @_ which got me the hash, but lost the value... It seems like it kept returning the value from the first call, but it might be just random.
Never moon a werewolf!