Thanks, Brandon! I’m hosted at FutureQuest.net <http://futurequest.net/>, which 
has Linux servers. So, nothing oddball or demanding about the environment. But 
my familiarty with Unix/Linux programming is almost nil, so I sweat over stuff 
that would seem clear to most programmers. — Rick


> On Oct 30, 2018, at 1:41 PM, Brandon McCaig <bamcc...@gmail.com> wrote:
> 
> On Tue, Oct 30, 2018 at 07:34:11AM -0500, Rick T wrote:
>> Still, if anyone can point me to a “beginners guide” to using
>> CPAN, I’ll take a look at it.
> 
> The easy button for CPAN, or at least the one I'm most familiar
> with, is cpanm AKA App::cpanminus. The cpan command is very
> low-level and prompts the user repeatedly, making it basically
> unusable by a human user. If it is available to you, or you're
> able to get it installed, cpanm takes away all of this pain and
> automatically fetches, builds, tests, and installs your desired
> package and all of its dependencies automatically.. You'd just
> invoke:
> 
>    $ cpanm Template::Simple
> 
> And with minimal output it should install for you. If not, you
> might have to get your hands dirty reading logs to figure out
> what is wrong, and what to do about it, but for well maintained
> packages in a Unix-like environment that is rare in my
> experience..
> 
> You can read about cpanm and how to install it from the Git repo
> readme:
> https://github.com/miyagawa/cpanminus/tree/devel/App-cpanminus
> 
> I have not used hosting environments for Perl deployment so I
> cannot say whether this is likely to be an option for you.
> 
> On another note, a nice way to control your Perl environment is
> by using perlbrew, which allows you to install an up-to-date perl
> distribution within your home directory to use, and to likewise
> install your CPAN modules within your home directory too. It is
> also capable of managing many different perl environments
> side-by-side which probably isn't needed, but doesn't hurt to
> know about..
> 
> I'm not sure how difficult it would be to use a perlbrew
> environment for your hosting environment, but nevertheless it is
> a useful resource to know about. Note that if you do use perlbrew
> it has a command to install cpanm too so it might kill two birds
> with one stone.
> 
> Regards,
> 
> 
> -- 
> Brandon McCaig <bamcc...@gmail.com> <bamb...@castopulence.org>
> Castopulence Software <https://www.castopulence.org/>
> Blog <http://www.bambams.ca/>
> perl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }.
> q{Vg qbrfa'\''g nyjnlf fbhaq gung jnl.};
> tr/A-Ma-mN-Zn-z/N-Zn-zA-Ma-m/;say'
> 

Reply via email to