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.
In reply to Re: Select Count(*) result
by thraxil
in thread Select Count(*) result
by SQLMan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |