in reply to Re^6: Change decimal point temporarily
in thread Change decimal point temporarily
ah! In that case,
(my $tmp = $s) =~ s/,/./; $s = $tmp if looks_like_numbers($tmp);
You'd be better of specifying which columns are numeric, though. Text::CSV_XS can even take advantage of that information if you tell it (via types).
|
---|
In Section
Seekers of Perl Wisdom