in reply to Substituting white spaces with a tab changes my string into numeric value
change
$line = s/\s+/\t/g;to
$line =~ s/\s+/\t/g;
In Section
Seekers of Perl Wisdom
in reply to Substituting white spaces with a tab changes my string into numeric value
change
$line = s/\s+/\t/g;to
$line =~ s/\s+/\t/g;