|
IO::InnerFile - define a file inside another file |
IO::InnerFile - define a file inside another file
### Read a subset of a file:
$inner = IO::InnerFile->new($fh, $start, $length);
while (<$inner>) {
...
}
If you have a filehandle that can seek() and tell(), then you
can open an IO::InnerFile on a range of the underlying file.
Note that FILEHANDLE must be able to seek() and tell(), in addition
to whatever other methods you may desire for reading it.
$Id: InnerFile.pm,v 2.102 2001/08/17 02:06:33 eryq Exp $
Original version by Doru Petrescu (pdoru@kappa.ro)
Documentation and current maintenance by Eryq (eryq@zeegee.com)
|
IO::InnerFile - define a file inside another file |