Expect for perl
This module contains a version of expect written in perl.
Expect requires the latest version of IO::Tty, also available from
CPAN. IO::Stty has become optional but I'd suggest you also install
it. If you use the highly recommended CPAN module, there is a
Bundle::Expect available that installs everything for you.
If you prefer manual installation, the usual
Expect(3) User Contributed Perl Documentation Expect(3)
Expect.pm - Expect for Perl
# create an Expect object by spawning another process
my $exp = Expect->spawn($command, @params)
or die "Cannot spawn $command: $!\n";
# or by using an already opened filehandle (e.g. from Net::Te
Ver .92 -
Finally figured out how to generate an EOF on a terminal (stty 0 but
you knew that already ;). Whole module needs a spring cleaning but seems to be
pretty functional. After the (later) introduction of a POSIX stty function the
code involving stty should get a little cleaner.
Interact, interconnect and expect should all benefit from the EOF fix.
interconnect also looks for FH exception
Browse inside perl-Expect-1.20-1.el5.rf.noarch.rpm
Results 1 - 1 of 1Search over 15 billion files
© 1997-2017 FileWatcher.com