in reply to parsing text file
hi
Assuming that
$line =~ s/\t+/\t/g;
The + modifier to the \t tells the regular expression to find one or more of the preceding thingie (in this case, a tab). The g modifier at the end tells the regular expression to perform the substitution on all occurrences of the match.
HTH
//=\\
|
|---|