in reply to Re^5: Counting matchesin thread Counting matches
printf "%-15s count %d\n",$_,$count{$_}; [download]
it formats the print output, see printf and sprintf
%-15s a string 15 characters minimum width left justified %d signed integer