in reply to Trouble establishing a dialogue between Perl and PostgreSQL

Maybe you need to specify that you are connecting to localhost, and you mustn't forget about dbname.
my $db=DBI->connect("dbi:PgPP:dbname=testdb;host=localhost", 'postgres +','xxxxxxxxx') or die DBI->errstr;
Hope that helps.