laziness, impatience, and hubris | |
PerlMonks |
perl null paddingby m.y (Novice) |
on Apr 11, 2008 at 23:09 UTC ( [id://679883]=perlquestion: print w/replies, xml ) | Need Help?? |
m.y has asked for the wisdom of the Perl Monks concerning the following question:
How can I null pad a string without using pack? I need to null pad a string so that its 24 characters. I have this currently:
The problem is when I do this in a mod_perl environment it never reaches the line after the null padding. Is this not the way to do it?
Back to
Seekers of Perl Wisdom
|
|