FileHandle which supports multi-byte unget

Edit Package perl-FileHandle-Unget

FileHandle::Unget operates exactly the same as FileHandle, except that it
provides a version of ungetc that allows you to unget more than one
character. It also provides ungets to unget a string.

This module is useful if the filehandle refers to a stream for which you
can't just 'seek()' backwards. Some operating systems support multi-byte
'ungetc()', but this is not guaranteed. Use this module if you want a
portable solution. In addition, on some operating systems, eof() will not
be reset if you ungetc after having read to the end of the file.

NOTE: Using 'sysread()' with 'ungetc()' and other buffering functions is
still a bad idea.

Refresh
Refresh
Source Files
Filename Size Changed
FileHandle-Unget-0.1628.tar.gz 0000040259 39.3 KB
cpanspec.yml 0000000547 547 Bytes
perl-FileHandle-Unget.changes 0000003585 3.5 KB
perl-FileHandle-Unget.spec 0000002379 2.32 KB
Latest Revision
Ludwig Nussel's avatar Ludwig Nussel (lnussel) committed (revision 4)
vrev freeze
Comments 0
openSUSE Build Service is sponsored by