Perl: the Markov chain saw | |
PerlMonks |
Re: Can I pad a number with leading spaces rather than leading 0'sby HyperZonk (Friar) |
on Aug 20, 2001 at 23:06 UTC ( [id://106315]=note: print w/replies, xml ) | Need Help?? |
The output should be right-justified (padded with spaces) automatically. To be more explicit: if you want the output to fit a field four spaces wide, e.g. Then you would want to
-HZ
In Section
Seekers of Perl Wisdom
|
|