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

hi, but this is not printing into binary format
49 32 49 32 48 32 48 32 48 32 48 32 48 32 48 32 48 32+ +48 32 49 32 48 32 48 32 48 32 48 32 48 32 48 32 48 32+ +50 32 49 32 49 32 48 32 48 32 48 32 48 32 48 32 49 32+ +49 32 48 32 48 32 48 32 49 32 48 32 48 32 48 32 49 32+ +51 32 49 32 49 32 49 32 48 32 48 32 48 32 48 32 48 32+ +48 32 49 32 48 32 48 32 48 32 48 32 48 32 48 32 48 32+ +52 32 49 32 49 32 49 32 48 32 48 32 48 32 48 32 48 32+ +48 32 49 32 48 32 48 32 48 32 48 32 48 32 49 32 48 32+ +53 32 49 32 49 32 48 32 48 32 48 32 48 32 48 32 49 32 +49 32 48 32 48 32 48 32 49 32 48 32 48 32 48 32 49 32 +54 32 49 32 49 32 48 32 48 32 48 32 48 32 48 32 49 32 +49 32 48 32 48 32 48 32 49 32 48 32 48 32 48 32 49 32 +55 32 49 32 49 32 48 32 49 32 48 32 48 32 48 32 48 32 +48 32 49 32 48 32 48 32 48 32 48 32 48 32 48 32 48 32 +56 32 49 32 49 32 48 32 48 32 48 32 48 32 48 32 49 32 +49 32 48 32 48 32 48 32 49 32 48 32 48 32 48 32 49 32 +57 32 49 32 49 32 48 32 48 32 49 32 48 32 48 32 48 32 +48 32 49 32 48 32 48 32 48 32 48 32 48 32 48 32 48 32 +49 48 32 49 32 49 32 48 32 48 32 48 32 48 32 48 32 49 +32 49 32 48 32 48 32 48 32 49 32 48 32 48 32 48 32 49 +32 49 49 32 49 32 49 32 48 32 48 32 48 32 49 32 48 32 +48 32 48 32 49 32 48 32 48 32 48 32 48 32 48 32 48 32 +48 32 49 50 32 49 32 49 32 48 32 48 32 48 32 48 32 48 +32 49 32 49 32 48 32 48 32 48 32 49 32 48 32 48 32 48 +32 49 32 49 51 32 49 32 49 32 48 32 48 32 48 32 48 32 +49 32 49 32 49 32 49 32 48 32 48 32 48 32 48 32 48 32 +48 32 48 32 49 52 32 49 32 49 32 48 32 48 32 48 32 48 +32 48 32 49 32 49 32 48 32 48 32 48 32 49 32 48 32 48 +32 48 32 49 32 49 53 32 49 32 49 32 48 32 48 32 48 32 +48 32 48 32 48 32 48 32 49 32 49 32 48 32 48 32 48 32 +48 32 49 32 48 32 48 32 48 32 48 32 48 32 49 32 49 32 Argument "" isn't numeric in printf at counter.pl line 3 Missing argument in printf at counter.pl line 36.

Replies are listed 'Best First'.
Re^5: Count and print in perl
by johngg (Canon) on Apr 18, 2017 at 12:55 UTC

    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