Skip Menu |

This queue is for tickets about the Fortran-Format CPAN distribution.

Report information
The Basics
Id: 14617
Status: resolved
Worked: 20 min
Priority: 0/
Queue: Fortran-Format

Owner: Nobody in particular
Requestors: npaul128 [...]

Bug Information
Severity: Normal
Broken in: 0.53
Fixed in: (no value)

Subject: bug that treats float like integer
Download (untitled) / with headers
text/plain 486b
I am using: version 0.53 with Perl 5.8.6 with Gentoo kernel 2.6.12-r10. The code that will show the bug is: $format_obj = Fortran::Format->new("4(F9.4,1X),I2,1X,F9.4"); # next line is a work around #$format_obj = Fortran::Format->new("4(F9.4,1X),1(I2,1X),F9.4"); print OUTPUT sprintf($format_obj->write($arg1, $arg2, $arg3, $arg4, $arg5, $arg6)); arg6 is printed as an integer instead of F9.4 (its usual value is 1.1008, but it prints 1)
Thanks. I've just uploaded version 0.54 which fixes this bug.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to