Hi Paul,
for Perl always look at CPAN http://www.cpan.orgThe DBI and DBD::Pg will be your friends. ActuallyDBI is easy to use and DBD::Pg (DBI Database connectorto Postgres) works flawless.
Regards
Ulli