You have a small but significant typo in your code.
while ( my $line <$datfh> ) {
Should be
while ( my $line = <$datfh> ) {
Cheers,
JohnGG
In reply to Re^2: array reading problem
by johngg
in thread array reading problem
by jeah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |