helpcomm
09-04-2008, 11:16 AM
Hi,
I am new to perl and i want to debug a perl program.
I have the following statement:
$dbh=DBI->connect("DBI:mysql:$DBNAME",$DBUSER,$DBPASS)
And i want to display the content of DBI:mysql:$DBNAME so that i know what is the name of the database.
i did : print DBI:mysql:$DBNAME;
But it does not work!
Thank you
I am new to perl and i want to debug a perl program.
I have the following statement:
$dbh=DBI->connect("DBI:mysql:$DBNAME",$DBUSER,$DBPASS)
And i want to display the content of DBI:mysql:$DBNAME so that i know what is the name of the database.
i did : print DBI:mysql:$DBNAME;
But it does not work!
Thank you