in reply to Select Count(*) result

do returns the number of rows affected by an update, it does not return the results of a select. you want to use prepare(), execute() and then a fetch* instead.

i recommend perldoc DBI for more information. the examples are quite clear.

anders pearson