Support passing floats from Python to Perl