Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Count and print in perlby 1nickt (Canon) |
on Apr 17, 2017 at 11:35 UTC ( [id://1188125]=note: print w/replies, xml ) | Need Help?? |
... because after 11 count one character is incrementing so not printing aligned format ... See sprintf. Output:
Hope this helps!
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|