Sure, you can connect to a mysql database using the DBI module, available
from cpan.org
you'll also need to install the dbd driver (DBD::Mysql).
Then you can query your data just like you would at a mysql prompt

the documentation is quite extensive, and here's an article that should get
you started:
http://www.perl.com/pub/a/1999/10/DBI.html

hth
Jos Boumans


----- Original Message -----
From: "Ackim Chisha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 11:26 AM
Subject: Searching a MYSQL database


People,
Forgive me am a newbie just started learning perl two days ago. I would like
to find out if its possible with perl I can search a MYSQL database  for a
particular username and look for for the expiry date and compare it with the
current date to determine whether expired or not.
Any help will be appreciated or a website that could give me some hints.

Thanks

Ackim



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

Reply via email to