Hi again Carol,
Well, maybe my answer was a bit obvious. Anyway, I agree with Dan, commenting portions of the code is usually how I debug as well, although again, that's probably obvious. Did you try adding:
Code:
use CGI::Carp qw/fatalsToBrowser/;
$|++;
...to the top of your script? Sometimes that sends an error to the browser that won't appear in the error_log.
I see the mod isn't on your site yet, so do you want to post it here or on the site? Somebody might be able to spot what's happening. Or you can send it to me if you want and I can at least see if it works for me. Use adam@adambeecher.com if you do though, or I mightn't get it for ages!
Cheers,
adam