On Thu, Feb 28, 2013 at 2:48 AM, Andrew <[email protected]> wrote: > I'm a brand newbie to cpan and relatively inexperienced with perl. I was > given some cpan commands to follow for a third > party application I'm trying to install/build, but I want to script (bash) > these commands as chances are I'll be > reinstalling a bunch of times after I screw it up. > > The module installs are easy (cpan modulename). However, I need to do "o > conf commit" and > possibly other somewhat similar commands. I can't find anything that > explicitly explains how. > > My investigations reveal that it may be the case that I can use YAML, > autocommit, expect and/or mkmyconfig to accomplish > this task, but I'm in way over my head. I didn't want this to be a major > project, I just wanted to automate > the installation of a few modules and whatnot so I can move on with my life. > This is for a personal Linux (Ubuntu)machine > so yes I'm root & I want to do this on a system wide basis. >
I haven't used it but App::cpanminus may be a help: http://search.cpan.org/~miyagawa/App-cpanminus-1.6002/lib/App/cpanminus.pm -- Charles DeRykus to do -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
