in reply to RE: Re: More on hex pack/unpack
in thread More on hex pack/unpack

i've only used Perl under Windows a couple times, but i believe this can be fixed by calling binmode on IMG before anything reads from it.

Replies are listed 'Best First'.
RE: RE: RE: Re: More on hex pack/unpack
by BBQ (Curate) on Jun 26, 2000 at 20:43 UTC
    Damnit you guys are good... Yup, that works also. Then again, calling binmode on linux worked as well. SO I guess its just a matter of calling binmode whenever regardless of the platform.

    #!/home/bbq/bin/perl
    # Trust no1!