Add the following two lines in fromt of your code:
use strict; use warnings;
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
In reply to Re: (another) HoH question
by afoken
in thread (another) HoH question
by zuma53
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |