$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 reply to Re: parsing text file
by schumi
in thread parsing text file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |