Tatsuhiko Miyagawa > Term-TtyRec-0.03 > Term::TtyRec::Player

Download:
Term-TtyRec-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Term::TtyRec::Player - playbacks ttyrec data

SYNOPSIS ^

  use Term::TtyRec::Player;
  use FileHandle;

  # $handle is any IO::* object
  my $handle = FileHandle->new('file.tty');
  my $player = Term::TtyRec::Player->new($handle);

  # options can be set as hashref
  my $player = Term::TtyRec::Player->new($handle, {
      speed => 1, nowait => undef,
  });

DESCRIPTION ^

Term::TtyRec::Player playbacks ttyrec recorded data. See pttyplay and Term::TtyRec for details about ttyrec.

METHODS ^

new
  $player = Term::TtyRec::Player->new($handle, \%attr);

constructs new Term::TtyRec::Player instance.

play
  $player->play();

Plays recorded data on your terminal.

peek
  $player->peek();

Plays live-recoded data to your terminal. This method implements ttyplay -p option.

AUTHOR ^

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

Term::TtyRec, pttyplay, http://namazu.org/~satoru/ttyrec/

syntax highlighting: