|
|
| "be consistent" | |
| PerlMonks |
Re: Need some help with a dodgy variableby davorg (Chancellor) |
| on Jul 30, 2001 at 15:52 UTC ( #100836=note: print w/ replies, xml ) | Need Help?? |
|
Difficult to know without seeing the code, but I'd guess that you either need to declare it as a package variable (with use vars or our) or a lexical variable at the file level (using my). Or you could pass it as a parameter to the fumctions where it is needed. --<http://www.dave.org.uk> Perl Training in the UK <http://www.iterative-software.com>
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||