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.
- Developed at devel:languages:perl
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:16.0:FactoryCandidates/perl-FileHandle-Unget && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
FileHandle-Unget-0.1623.tar.bz2 | 0000029820 29.1 KB | |
perl-FileHandle-Unget.changes | 0000001183 1.16 KB | |
perl-FileHandle-Unget.spec | 0000002108 2.06 KB |
Revision 11 (latest revision is 23)
Lars Vogdt (lrupp)
committed
(revision 11)
Autobuild autoformatter for 54728
Comments 0