Don't ask to ask, just ask | |
PerlMonks |
Re: (another) HoH questionby afoken (Chancellor) |
on Jun 23, 2012 at 17:46 UTC ( [id://977991]=note: print w/replies, xml ) | Need Help?? |
Add the following two lines in fromt of your code:
Run your script. It will complain loudly that variables need explicit package names.This mostly says that your code lacks my in front of the loop variables. Add the three mys. Run your script again. Look at the error messages and your code. Compare what you meant with what you really wrote. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|