Always use strictures (use strict; use warnings; - see The strictures, according to Seuss).
Once you have fixed various syntax errors come back if you still have problems. It would help us a lot to help you if you provided a small stand alone test script showing the issue you have. See I know what I mean. Why don't you?.
In reply to Re: stuck on code
by GrandFather
in thread stuck on code
by mwill66
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |