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

Top Page

Reply to this message
Author: Tim
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Perl modules, how do I know I have them??
On Tuesday 13 January 2009 07:55:31 Keith Edmunds wrote:
> On Tue, 13 Jan 2009 07:40:50 +0000, xendistar@??? said:
> > DBI and DBD::mysql
> >
> > How do I check that these are installed?
>
> From the command line:
>
> $ perl -e 'use DBI;'
> $ perl -e 'use DBD::mysql;'
>
> If you get a prompt back with no messages, you have module in question
> installed. If you get an error message ("Can't locate DBD/mysql.pm in
> @INC ...") then you don't.
>
> Keith
>
> --
> Keith Edmunds
>
> +-------------------------------------------------------------------------+
>
> |    Tiger Computing Ltd    |  Helping businesses make the most of Linux  |
> |  "The Linux Specialists"  |       http://www.tiger-computing.co.uk      |

>
> +-------------------------------------------------------------------------+


Thanks all for the replys, Keith suggestion worked perfectly

Tim

____________________________________________________________
GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!