IO-Handle-Rewind
view release on metacpan or search on metacpan
lib/IO/Handle/Rewind.pm view on Meta::CPAN
858687888990919293949596979899100101102103104105
formline
format_write
fcntl
ioctl
constant
printflush);
__PACKAGE__->_delegate(
@meths
);
sub
new {
my
(
$class
,
$obj
,
$opt
) =
@_
;
$obj
->isa(
'IO::Handle'
) or croak
"Can't wrap non-IO::Handle object: $obj"
;
my
$self
=
bless
{} =>
$class
;
$self
->obj(
$obj
);
return
$self
;
}
sub
rewind {
my
(
$self
,
@lines
) =
@_
;
$self
->rewound([
@lines
]);
}
( run in 0.841 second using v1.01-cache-2.11-cpan-49f99fa48dc )