LinuxUser2008 has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks
Forgive me for my ignorance, i am pretty new to Perl Scripting and Expect, and i was wondering if we can use Expect within Perl.. I need to create a CGI based on PERL which internally uses Expect.. Is this possible??
Regards,
Blub

Replies are listed 'Best First'.
Re: Using Expect in Perl
by marto (Cardinal) on Jun 02, 2010 at 05:53 UTC
      thanks marto.. Both for the advice on PERL(this is the last time, i will be typing this way) and on the resources you had shared..
      Regards,
      Blub:)
        Personally I'm a big fan of Net::SSH::Expect. I have a previous post about it with some sample code if you're interested. It's availble here