in reply to A Set String Length
And just to be obnoxious, you can use sprintf, like
young perlhopper.
$foo = sprintf("%-10s", "Hello");
or you can do
$String .= " " x (10-length($String));
|
---|
In Section
Seekers of Perl Wisdom