in reply to mysql perl hangs on selects

When you say breaks, does your cgi die, and if so, what is the output of the apache error log?

Potential reasons for breaking: Anyway, the first thing i'd do is examine the mysql configs (show variables) for differences between the servers.