Perl program

can anyone help me out to write a code by connecting to the sql database and I need to print the list of tables present in the databse.

any ideas please.

Check out the Perl DBI home page at dbi.perl.org. The DBI module was written to solve this problem.