XP is just a number | |
PerlMonks |
Re: How to pass by referenceby GhodMode (Pilgrim) |
on Jul 31, 2006 at 07:20 UTC ( [id://564697]=note: print w/replies, xml ) | Need Help?? |
Just put a backslash in front of the dollar-sign when you pass the variable to the function. Don't forget to de-reference the variable inside the function ...
-- -- GhodmodeBlessed is he who has found his work; let him ask no other blessedness. -- Thomas Carlyle
In Section
Seekers of Perl Wisdom
|
|