in reply to output format changed perl5.8 --> perl 5.10?
Call me old-fashioned, but I always use %i for integers. eg:
which seems to work fine on 5.8.8 and 5.10.1. HTH.