FileHandle which supports multi-byte 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.
- Sources inherited from project openSUSE:Backports:SLE-15-SP5
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.5:Update/perl-FileHandle-Unget && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
FileHandle-Unget-0.1634.tar.gz | 0000042660 41.7 KB | |
cpanspec.yml | 0000000112 112 Bytes | |
perl-FileHandle-Unget.changes | 0000004566 4.46 KB | |
perl-FileHandle-Unget.spec | 0000002583 2.52 KB |
Latest Revision
Yuchen Lin (maxlin_factory)
committed
(revision 3)
branch from SP4 Backports
Comments 0