in reply to printf numification
Are you sure "%4.4d" is legal? (Update: perlfunc says it's only legal for floating point formatters.) Using a proper formatting string, it works fine for me in ActivePerl 5.6.1 build 633:
>perl -le "printf('%04d', '42a');" 0042
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: printf numification
by YuckFoo (Abbot) on Sep 27, 2004 at 18:28 UTC |