in reply to Re^2: seek() functionality on pipes
in thread seek() functionality on pipes
Yes. Also, depending upon the OPs reqs, it might be better to use sysread rather than read. Most file format specs are in terms of bytes not chars.
I'm never quite sure whether Perl will start treating input as unicode without a specific request on an open to do so? For example, does it recognise BOMs in an input stream and act upon them?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: seek() functionality on pipes
by ikegami (Patriarch) on Jul 21, 2008 at 19:34 UTC | |
by BrowserUk (Patriarch) on Jul 21, 2008 at 19:46 UTC | |
by ikegami (Patriarch) on Jul 21, 2008 at 19:53 UTC |