in reply to Sorter

Congratulation!! on your first code post, dude.   It runs clean for me (CGI.pm 2.752, Perl 5.00503, Debian 2.2r2)

But you might consider adding -wT to the shebang line before someone unleashes the --hounds. {grin}   One other thought: perlman:CGI::Carp tells about using *cough* CGI::Carp, which is probably a good thing for most CGI scripts.
    cheers,
    Don
    striving for Perl Adept
    (it's pronounced "why-bick")