in reply to output format changed perl5.8 --> perl 5.10?
Call me old-fashioned, but I always use %i for integers. eg:
perl -e 'printf "%2.2i\n", 4;'which seems to work fine on 5.8.8 and 5.10.1. HTH.
|
---|
In Section
Seekers of Perl Wisdom
in reply to output format changed perl5.8 --> perl 5.10?
Call me old-fashioned, but I always use %i for integers. eg:
perl -e 'printf "%2.2i\n", 4;'which seems to work fine on 5.8.8 and 5.10.1. HTH.
|
---|