in reply to Getting length of longest value in a column
In the real world I might get lazy and make the arguement that the high/medium/low info should be right after the ticket number - because it is important. Lining that up is easy.
In the world of doing it the way someone says to (also part of the real world I guess), check out the documentation for sprintf (perldoc -f sprintf), it'll help you pad stuff.
|
---|