in reply to parsing text file
On the basis of the same assumptions ViceRaid makes above, you could also do the following:
$line =~ s/\t{2,}/\t/g;
This only matches on occurences of two or more tabs, and hence would prevent any single tabs within your data from being stripped.
--cs
There are nights when the wolves are silent and only the moon howls. - George Carlin
In Section
Seekers of Perl Wisdom