in reply to Re^4: Special formatting of error messages
in thread Special formatting of error messages

Bravo! I hadn't thought about doing it with sort.

I came up with:

use List::Util qw|max|; ... my $maxsize = max(map {chomp; length} @lines);

"Look, Shiny Things!" is not a better business strategy than compatibility and reuse.