Something like:
use strict; use warnings; use DBI; my $dbh = DBI->connect(...); my $tables = $dbh->selectall_arrayref('show tables'); print "$_->[0]\n" for @$tables;
In reply to Re: How to give a database as an input in a perl script?
by GrandFather
in thread How to give a database as an input in a perl script?
by amature
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |