more useful options | |
PerlMonks |
Re: Need some help with a dodgy variableby perchance (Monk) |
on Jul 30, 2001 at 18:09 UTC ( [id://100871]=note: print w/replies, xml ) | Need Help?? |
If I understand correctly, you can make the variable global by adding :: after the $,@, or whatever. If you do so you will not be able to scope it using my, so you can initialze it at your leisure. For example:
Hope this helps, --- perchance
In Section
Seekers of Perl Wisdom
|
|