See perlfunc:binmode for how to set a filehandle into binary mode.
While your at it, you should look at unpack for a better way of processing your binary data than doing it with ord.
In reply to Re: perl in DOS woes
by BrowserUk
in thread perl in DOS woes
by manzico
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |