in reply to Question on Databases
LWP and DBI can help you, but you should rather start with some Tutorials.