in reply to Re^3: array to stringin 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"; [download]
Dave