Nik has asked for the wisdom of the Perl Monks concerning the following question:
i have this code to use it when i wan to see which tables resides in a specific database but i can't do the same thing with columns as well do you know why? Thanks.@tables = $db->tables; foreach (@tables) { print font( {-size=>6, -color=>'Lime'}, "$_<br>" ); } @columns = $db->column; foreach (@columns) { print font( {-size=>6, -color=>'Lime'}, "$_<br>" ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Perl and Mysql!
by merlyn (Sage) on Oct 14, 2003 at 14:58 UTC | |
| |
|
Re: Perl and Mysql!
by gjb (Vicar) on Oct 14, 2003 at 15:12 UTC | |
|
Re: Perl and Mysql!
by zby (Vicar) on Oct 14, 2003 at 15:08 UTC | |
|
Re: Perl and Mysql!
by jeffa (Bishop) on Oct 14, 2003 at 16:43 UTC | |
| |
|
Re: Perl and Mysql!
by jdtoronto (Prior) on Oct 14, 2003 at 16:03 UTC | |
|