I don't see that $field[1] has a value. It depends entirely on the input. For a simple solution, just add a print command prior to the split so you can see what the contents are; they are probably not what you think they are. Also, I would suggest getting familiar with the debugger.
In reply to Re: Uninitialized Value
by GotToBTru
in thread Uninitialized Value
by PilotinControl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |