Hans Dieter Pearcey > IO-Handle-Rewind > IO::Handle::Rewind

Download:
IO-Handle-Rewind-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.06   Source  

NAME ^

IO::Handle::Rewind - pretend to rewind filehandles

VERSION ^

0.06

DESCRIPTION ^

IO::Handle::Rewind wraps any IO::Handle object in a soft, fluffy coat.

METHODS ^

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.

Despite the name, this does not seek the filehandle.

$re->getline

$re->getlines

$re->readline

See documentation for rewind.

SEE ALSO ^

IO::Handle

AUTHOR ^

Hans Dieter Pearcey <hdp@icgroup.com>

LICENSE ^

Copyright (C) 2005, Hans Dieter Pearcey.

Available under the same terms as Perl itself.

syntax highlighting: