in reply to Re: automate Net::SSH::Perl install via CPAN
in thread automate Net::SSH::Perl install via CPAN

I have not done that, But I was thinking of using this code snippet from README on CPAN,
#!/usr/bin/perl use CPAN; for $mod (qw(MD5 Net::SSH::Perl)){ my $obj = CPAN::Shell->expand('Module',$mod); $obj->install; }
But I was wondering if I could automate it by passing Makefile.PL the arguments like so
$obj->makepl_arg = "arg1 arg2 arg3 ..."; $obj->install;
Have any one try this? Thanks.