|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: printf not behaving as expectedby chromatic (Archbishop) |
| on May 04, 2012 at 00:50 UTC ( #968841=note: print w/ replies, xml ) | Need Help?? |
|
Are you using a 32-bit Perl, or a Perl with 32-bit integers? If so, what happens if you use the pattern %ld for that field? (You can always interpolate the variable directly instead of using printf, of course.) Improve your skills with Modern Perl: the free book.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||