in reply to print a tabular report using perl
Most probably your data contains linefeeds at the end (\n in $a, %b and $c). Try to remove them, e.g. using chomp.
hth, Rata