The stupid question is the question not asked | |
PerlMonks |
A Procrustean Statementby Zaxo (Archbishop) |
on Jun 16, 2006 at 01:52 UTC ( [id://555671]=CUFP: print w/replies, xml ) | Need Help?? |
Pad or truncate a string to a fixed length, $len, . . . Padding is spaces; for ASCII NUL bytes use the 'a' or 'Z' format instead. 'Z' guarantees at least one NUL, for dealing with C strings.
Back to
Cool Uses for Perl
|
|