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

I want to write a program in which I want to login to a system thru ssh. Execute a command and get the output back to the place where the request was executed. For this I want to use a few modules. When I run the program using the modules, I am getting an error Global packages declaration error. My problem is I want to install a standard verion of perl and also modules without any much problem. Regards Jyothi

Replies are listed 'Best First'.
Re: To install the NET::SSH::Perl modules.
by Fletch (Bishop) on Jun 07, 2004 at 12:43 UTC

    You need to do one or more of the following:

    • provide the exact error you're getting and a short sample of code which produces the error (not a paraphrase)
    • read perldoc CPAN, perldoc perlmodinstall, and perldoc -q "my own module"
    • bug your sysadmin

    Not necessarily in that order.