Re: [Hampshire] Perl modules, how do I know I have them??

Top Page

Reply to this message
Author: Vic
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Perl modules, how do I know I have them??
> DBI and DBD::mysql
>
> How do I check that these are installed? I am running Mepis 8 RC1 (which
> is based on Debian Lenny).


The easiest way to see if they are on your system is just to try to use them:

perl -e "use DBI"
perl -e "use DBD::mysql"

If you get "Can't locate ..." errors, you haven't got them.

If you need to install perl modules, consider doing this within the
context of your package management system. I always use cpan2rpm - there's
also a cpan2deb utility, but I've not used it myself.

Vic.