Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Modifying Global Variableby vek (Prior) |
on Jan 08, 2003 at 17:41 UTC ( [id://225307]=note: print w/replies, xml ) | Need Help?? |
I think you're a little confused on how to return data from subroutines. I think this is what you want:
Your $date var will now contain the value of $somevar. -- vek --
In Section
Seekers of Perl Wisdom
|
|