in reply to Re^4: Perl Not returning SQL query result
in thread Perl Not returning SQL query result

EDIT: after writing all that up and posting, I re-read your final paragraphs, and realized you said basically the same thing.

So ignore all the original detail in the spoiler