On Sunday 02 December 2001 11:43 am, [EMAIL PROTECTED] wrote:
> I'm  just trying to tell if dbi itself is installed or not. I guess I  have
> to go to the  mysql site and download it, but do I install the DBI for perl
> or since I am using mysql *just* the specified DBD for mysql? That's what
> is confusing me. Dbi I thought would do it, but then I see a db*d*, not dbi
> for mysql. So does that mean I need both or just one?
>
> Wow, I bet this is so easy 100's are laughing ;)

$ perl -MCPAN -e shell

This is why perl is so great - CPAN. That is why 100's are laughing. It is so 
natural to them they can't imagine NOT using it.

You'll want to do something like:

(from the CPAN shell)
> install DBI
> install DBD::<whatever you need>

Be sure to become intimately familiar with CPAN. It is your friend. If you 
are running it for the first time, you may want to do install bundle::CPAN or 
something like that.

As to whether something is installed:

$ perl -M<module>
^D

If it comes up with a bunch of garbage, it's not installed.
If it wants you to type something in, just press <CTRL-D>. It is installed. 

Jonathan

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to