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 reply to Re^7: Change decimal point temporarily
by ikegami
in thread Change decimal point temporarily
by lima1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |