in reply to Re: automate Net::SSH::Perl install via CPAN
in thread automate Net::SSH::Perl install via CPAN
But I was wondering if I could automate it by passing Makefile.PL the arguments like so#!/usr/bin/perl use CPAN; for $mod (qw(MD5 Net::SSH::Perl)){ my $obj = CPAN::Shell->expand('Module',$mod); $obj->install; }
Have any one try this? Thanks.$obj->makepl_arg = "arg1 arg2 arg3 ..."; $obj->install;
|
|---|