Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^7: Change decimal point temporarily

by ikegami (Patriarch)
on Aug 03, 2010 at 02:40 UTC ( #852585=note: print w/replies, xml ) Need Help??


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).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://852585]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2022-01-28 00:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (72 votes). Check out past polls.

    Notices?