Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: float: Perl is replacing dot with comma (automagic locale?)

by thargas (Deacon)
on May 15, 2014 at 18:12 UTC ( [id://1086183]=note: print w/replies, xml ) Need Help??


in reply to float: Perl is replacing dot with comma (automagic locale?)

Well in general it's better to use a string for the version rather than a floating-point number. Floating-point is not always accurate, and in this case, you'd get what you wanted as a side-effect. I.E. do:

our $VERSION = '1.2';

instead of:

our $VERSION = 1.2;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-03-29 05:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found