in reply to I am getting an error when executing an One of the Perl file.

Sounds like expect isn't installed on your system.

  • Comment on Re: I am getting an error when executing an One of the Perl file.

Replies are listed 'Best First'.
Re^2: I am getting an error when executing an One of the Perl file.
by Anonymous Monk on Nov 17, 2022 at 10:02 UTC

    How Can I install that expect. Can you please tell the Process

      You don't say which OS, for debian style sudo apt install expect, or whatever package manager your distro provides. How do I post a question effectively?.

      Update: For context, your perl script is calling an external program, expect, which you don't have on the system you're running the perl script on. Perhaps a more portable solution would be the cpan module Expect (to install cpan Expect).

        For Linux Operating System

      Download the Expect module.

      Then execute the below:

      perl Makefile.PL make make test make install