Skip Menu |

This queue is for tickets about the Text-Autoformat CPAN distribution.

Report information
The Basics
Id: 1501
Status: new
Priority: 0/
Queue: Text-Autoformat

People
Owner: Nobody in particular
Requestors: rt.cpan.org [...] paulm.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.04
Fixed in: (no value)



Subject: line 150; sprintf uses invalid %lf
Line 150 of Text/Autoformat.pm uses the %lf printf sequence. %l I think only applies to integers. Under perl 5.8.0 this isn't allowed any more: $ perl -e 'printf "%6.2lf\n", 123' %6.2lf $ (Testing against gcc (Debian/Testing GNU/Linux) lf.c:4: warning: use of `l' length character with `f' type character) FWIW, this bug's preventing Template Toolkit is failing tests on 5.8.0.
FWIW, The correct usage is %6.2Lf