LWP and DBI can help you, but you should rather start with some Tutorials.
In reply to Re: Question on Databases by choroba in thread Question on Databases by omorfos