in reply to Re: array reading problemin thread array reading problem
You have a small but significant typo in your code.
while ( my $line <$datfh> ) { [download]
Should be
while ( my $line = <$datfh> ) { [download]
Cheers,
JohnGG