[OPEN-ILS-DEV] another newbie q, Perl modules
Natasha Stephan
stephann at lindahall.org
Mon Apr 16 16:52:48 EDT 2007
Wow, Joe, thanks for the info and for the script! I will definitely
take a look at it and try the install that way.
Two followup questions, perhaps for the list administrator and whomever
is an admin on the Wiki...
Q1: I am again not receiving my own posts to the list, despite having
set my preference to "No" and then back to "Yes" earlier today. That
worked, but only for one posting. I'm receiving everyone else's
posts...
Q2: Should I wait until I've actually got Evergreen running on my
server to contribute to the DocuWiki? Or should I start putting the
things I've learned on the RH/FC page now? I'm keeping good notes, so I
can do whichever you prefer...
Thanks again,
Natasha
> -----Original Message-----
> From: open-ils-dev-bounces at list.georgialibraries.org
[mailto:open-ils-dev-
> bounces at list.georgialibraries.org] On Behalf Of Joe Atzberger
> Sent: Monday, April 16, 2007 3:33 PM
> To: open-ils-dev at list.georgialibraries.org
> Subject: Re: [OPEN-ILS-DEV] another newbie q, Perl modules
>
> Natasha Stephan wrote:
> > Should I just run through the list of modules and
> > install each individually?
> >
> > Q2: Some of the Perl module names listed look awfully similar to
the
> > RPMs I installed with yum.
>
> You still need to install them. The modules are usually what perl
> requires to interface with the installed components.
>
> >
> > Q3: This of course begs the question - what is the best way to
figure
> > out if you already have a Perl module?
>
> A simple answer:
>
> perl -e 'use Whatever::Module; print "ok\n";'
>
> With that test, you either get the error message or "ok".
>
> Or you can just try to install it with CPAN. If it is up to date, the
> output will say so (and do nothing):
>
> perl -MCPAN -e 'install Whatever::Module;'
>
> Otherwise, it will try to install/update it, which is what you would
have
> to do anyway! The only cases where this is
> bad are those where you deliberately want to stay at an older version
of a
> module.
>
> Lastly, I wrote a little script for installing all the Evergreen perl
> modules (see attached). The list may no longer be
> comprehensive or current (check docs), but you can see it is trivial
to
> update. Just add to the list at the top.
>
> --Joe Atzberger
> INFOhio Technical Specialist
> Metropolitan Educational Council
> (614) 473-8300 x22
> atzberger at mecdc.org
More information about the Open-ils-dev
mailing list