in reply to weird files

Hi,
maybe you can so :
while (<INFILE>) { $line = $_; chomp($line); next if ($line =~ /^\s*$/); push @file, split(/[\t\s]+/,$line); }
changes: misunderstood question - added split