Postgres and Perl

Yogesh Bhanu <yogesh@ncbs.tifrbng.res.in>

From: yogesh@ncbs.tifrbng.res.in (Yogesh Bhanu)
To: pgsql-general@postgreSQL.org
Date: 1998-06-06T02:53:52Z
Lists: pgsql-general
Hi,
   Can someone tell me how do I pass a Sql query using perl.
I am using dbengine to connect with postgres. Can I use the same Postgres.pm
if i write my own perl-cgi script.I am newbie to perl .As a test I have 
developed a small phonebook app. and would like to search only.
  Dbengine works fine for phone Nos.But fails partially at Name.
If I give a search string as "Yogesh " or "Yogesh%" it returns me nothing ,but 
when I give "Y%" it works fine it gives me Yogesh.
Thanx in advance
Yogesh