Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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 ( [id://11148211]=note: print w/replies, xml ) Need Help??


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

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

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

Replies are listed 'Best First'.
Re^3: I am getting an error when executing an One of the Perl file.
by marto (Cardinal) on Nov 17, 2022 at 10:08 UTC

    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

        See above for debian, replace the apt line for whatever your distros package manager is. Try reading that link I gave, taking the time to make it easier for people to help you is better for all involved.

        Ask your sysadm to install it for you. Be polite - your sysadm will appreciate that.


        🦛

Re^3: I am getting an error when executing an One of the Perl file.
by madtoperl (Hermit) on Nov 18, 2022 at 07:41 UTC
    Download the Expect module from https://www.cpan.org

    Then execute below command,

    perl Makefile.PL make make test make install

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11148211]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-24 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found