Package Info

perl-FileHandle-Unget


FileHandle which supports multi-byte unget


Development/Libraries/Perl

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.


License: GPL-2.0-or-later
URL: http://search.cpan.org/dist/FileHandle-Unget/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.1634-bp155.2.9 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-FileHandle-Unget
0.1634-bp154.1.16 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-FileHandle-Unget
0.1628-bp153.1.15 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-FileHandle-Unget
0.1628-bp152.3.17 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-FileHandle-Unget
0.1628-bp151.3.1 info GA Release 2019-07-16 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-FileHandle-Unget
0.1628-bp151.2.14 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-FileHandle-Unget
0.1628-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-FileHandle-Unget