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 reply to Re: output format changed perl5.8 --> perl 5.10?
by hippo
in thread output format changed perl5.8 --> perl 5.10?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |