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

Can I just ask if anyone knows whether this can be used with Perl 3 and 4? What other dependencies apart from the Perl module are required? We intend to use this on Windows machines predominantly - Is it safe to say that adding this to the @INC folder will work out the box? Can anyone explain how this can be done please as I could not find any *.pm files on my machine C:\>perl -v This is perl, version 4.0 perl for NT $$Revision: 4.0.1.8 Build 3 Patch level: 36 Copyright (c) 1989, 1990, 1991, Larry Wall NT Copyright (c) 1993, Intergraph Corporation Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 4.0 source kit.

Replies are listed 'Best First'.
Re: SSH Library In Perl - Net:ssh
by mr_mischief (Monsignor) on Nov 22, 2008 at 00:11 UTC
    Step 1 is to download and install either Strawberry Perl or ActivePerl. If you don't have authorization to do something like that, speak to someone who does or who can authorize you to do it. You current Perl language tools are sorely outdated, since Perl 5 has been available for more than a decade.

    There is no way to get modules to work with Perl 4 without changing Perl 4, which is no longer actively developed. Perl 5 is up to 5.10.x and still being actively developed. You really want Perl 5 for any new development in Perl.

    You might also be interested in other SSH modules once you get Perl 5 installed. One to look at include Net::SSH::Perl (which is implemented in Perl instead of as a wrapper, Net::SSH2 (which is a wrapper around libssh2 but not around a command-line ssh client), Net::OpenSSH (which is a wrapper around parts of OpenSSH), and possibly something more task-specific in the long list of SSH modules on CPAN.

Re: SSH Library In Perl - Net:ssh
by ikegami (Patriarch) on Nov 21, 2008 at 23:56 UTC

    Can I just ask if anyone knows whether this can be used with Perl 3 and 4?

    It's my understanding that modules only exist from Perl5 on, so no, Net::SSH won't work with Perl 3 and 4 without modification.

    What other dependencies apart from the Perl module are required?

    Since the module is a simple wrapper around the ssh tool, you'll need ssh.

Re: SSH Library In Perl - Net:ssh
by Anonymous Monk on Nov 21, 2008 at 23:16 UTC
    Pick a directory, any directory, manage your enviroment (path ...) and you can have a million perl's side by side
    /blah/blah/perl1/ /blah/blah/perl2/ /blah/blah/perl3/ /blah/blah/perl4/ /blah/blah/blah/