http://www.perlmonks.org?node_id=926980


in reply to dividing numbers

Well ... other issues aside ... you need to pull the arithmetic out of the string:

print RESULT "$id ", $count_of_A/$tt, " ", $count_of_C/$tt, " ", ....
-derby