Placeholders are not allowed for column or table names. You'll have to use SELECT passwd FROM pinfo... isntead.
In reply to Re: DBI problem by chromatic in thread DBI problem by Anonymous Monk