I tried this:
my $dbh = DBI->connect("dbi:Pg:database=test2;host=127.0.01;port=5432",
"postgres") or die $DBI:errstr;
test2 is the name of the database.
and got this:
Global symbol "$DBI" requires explicit package name at ./postgre_test_1.pl
line12.
syntax error at ./postgre_test_1.pl line 12, near "$DBI:"
Execution of ./postgre_test_1.pl aborted due to compilation errors.
Gruss Christian
--
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl