IO::Handle::Rewind - pretend to rewind filehandles
0.06
IO::Handle::Rewind wraps any IO::Handle object in a soft, fluffy coat.
Delegates most methods to the wrapped object.
IO::Handle::Rewind->new($obj)
Return an IO::Handle::Rewind object wrapping the passed-in IO::Handle.
$re->rewind(@lines, $lines)
Further calls to readline, getline, or getlines will read from the passed-in array/arrayrefs before actually reading further from the filehandle.
readline
getline
getlines
Despite the name, this does not seek the filehandle.
$re->getline
$re->getlines
$re->readline
See documentation for rewind.
rewind
IO::Handle
Hans Dieter Pearcey <hdp@icgroup.com>
Copyright (C) 2005, Hans Dieter Pearcey.
Available under the same terms as Perl itself.
To install IO::Handle::Rewind, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::Handle::Rewind
CPAN shell
perl -MCPAN -e shell install IO::Handle::Rewind
For more information on module installation, please visit the detailed CPAN module installation guide.