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;