FileHandle::Unget is a Perl module which is a drop-in replacement for FileHandle. It allows more than one byte to be placed back on the input. It supports an ungetc(ORD) which can be called more than once in a row, and an ungets(SCALAR) which places a string of bytes back on the input.
| Tags | Filesystems Software Development Libraries Perl Modules |
|---|---|
| Licenses | GPL |
| Operating Systems | OS Independent |
| Implementation | Perl |
Recent releases


Release Notes: The version number, which was incompatible with some modules, has been fixed. This release uses Test::More for better test reporting. The use of the "English" module has been removed to work around a bug that exists in some versions of Perl.


Release Notes: stdin_tell_bug.t was fixed to be more platform independent. Filehandle-specific input_record_separator capability was added, and Makefile.PL was changed to use Module::Install.


Release Notes: A bug involving pipes and tell() and a bug with reading data in a list context were fixed. new_from_fd support was added.


Release Notes: This version improves Windows, Data::Dumper, and Perl 5.6.1 compatibility, and fixes a memory leak.


Release Notes: A case in which a Perl bug will be triggered on Windows is now detected. The test cases were improved.