in reply to Hex editor

Just a stab in the dark here, but

your 'binhex' program reads in a binary file, and appends a newline at the end of each conversion (ok, if that's what you want to do), but when it reads the hexfile to convert it back to binary, not only does it not 'chomp' the newline that you added, it also adds another newline.

Replies are listed 'Best First'.
Re: Re: Hex editor
by Trag (Monk) on May 13, 2004 at 15:32 UTC
    Ah, Thanks. I'd vote you up, but I used all my votes today.

    Update: No luck, I got rid of the newline, but media player still won't open the wav file.

    *********************************************
    print "Just another iconoclastic Perl hacker";
      Are the number of bytes in your binary files the same (before and after)?. If not, keep checking those newlines.