in reply to Re: Generating standard length stringsin thread Generating standard length strings
sprintf '%-*s', $length, $string [download]
Less noise in the format.
ihb
See perltoc if you don't know which perldoc to read!