in reply to Re^2: How to align tabbed strings?
in thread How to align tabbed strings?

That's what sprintf does!

my $format = "%-8s %-5s %-8s\n"; my $output = sprintf $format, qw/Username Level Created/; $output .= sprintf $format, @$_ for @rows;