in reply to
I know this code could be better...
Regarding running under mod_perl, there are a few gotchas (well they got me anyway) Look
here
for mod_perl issues
Comment on
Re: I know this code could be better...
In Section
Seekers of Perl Wisdom