http://qs321.pair.com?node_id=11122791


in reply to Re^3: array to string
in thread array to string

The output of SELECT COUNT(*)... should always be a single number, so the outer foreach is probably unnecessary:

print "$Count->[0]->[0]\n";

Dave