You could also use the DBI method $nr->rows();
In reply to Re: Re: DBI-do return value by hakkr in thread DBI-do return value by tune