Hello Ahmed, Tuesday, December 04, 2001, Ahmed Moustafa <[EMAIL PROTECTED]> wrote:
AM> Thanks a lot. Where can I find exmaples for using Expect.pm, please? http://search.cpan.org/search?mode=module&query=expect but, for telnet and ftp you can use Net::Telnet and Net::FTP modules. http://search.cpan.org/doc/JROGERS/Net-Telnet-3.02/lib/Net/Telnet.pm http://search.cpan.org/doc/GBARR/libnet-1.09/Net/FTP.pm AM> Brett W. McCoy wrote: >> >>>I used to use Expect http://expect.nist.gov/ for dealing with >>>interactive programs i.e. Telnet and FTP. >>> >>>Expect lets you interact with running process as if it was a file. >>> >>>Does Perl have something like that i.e. writing a Perl script which >>>interacts with another process? >>> >>>Your help will be appreciated so much. >>> >> >> Yep -- there's a module on CPAN called Expect.pm. It works as you would >> expect. :-) Best wishes, Maxim mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]