in reply to Perl script on networks.

It looks like you haven't installed the module. Try something like sudo cpan Net::SSH. You might want to update your install of ssh first to latest version.