Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: automate Net::SSH::Perl install via CPAN

by perlknight (Pilgrim)
on Nov 05, 2003 at 19:36 UTC ( [id://304839]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://304839]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-19 02:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found