You're welcome. One more thing I noticed is that you will probably want to add a line:
right after my @arr = <$FILE>; to avoid the last field on each line containing a newline.chomp @arr;
In reply to Re^3: split a line by control ^D character
by eyepopslikeamosquito
in thread split a line by control ^D character
by selva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |