in reply to Re^4: Count and print in perl
in thread Count and print in perl

What do you mean by binary format? Please show us a hexdump -C of your input file inside <code> ... </code> tags, the code you used to produce this output inside <code> ... </code> tags and the output you are expecting, also inside <code> ... </code> tags. Your narrative should be inside <p> ... </p> tags.

As things stand it is not clear what you are trying to achieve.

Cheers,

JohnGG