in reply to DBI help->selectrow_hashref instead of fetchrow_hashref?

i don't see any DBI code in your pad.. selectrow() isn't a DBI method either. check the DBI manpage for the proper methods. fetchrow() is typically called after you execute() a select statement. the selectrow_* methods do all of that for you and shove the returned information into the requested data stucture.