Why do you print out @F when you want to inspect the contents of $_?
Maybe you want to add the following line in a strategic place of your script?
print "Now processing [$_]\n";
Consider also adding
use Data::Dumper; print Dumper \@F; print Dumper \@array;
... after you've populated @F and @array.
In reply to Re^7: Illegal division by zero error
by Corion
in thread Illegal division by zero error
by TJCooper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |