There are a number of issues with your code, but I'll focus on your uninitialized warnings question.
Have you tried adding any debugging print statements to help track down the problem?
Use the Data::Dump or Data::Dumper module to dump each of the vars in the statement that is generating the warning to verify they contain the values you expect. For each var that is undefined/uninitialized, trace it back step-by-step until you find where it began to be undefined. Adjust the code at that point to handle it, which could mean to assign a default value or it could mean that you should move to the next iteration.
In reply to Re: Undef and Unitialized Issue
by fishmonger
in thread Undef and Unitialized Issue
by Pharazon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |