First, you should use warnings (-w) and strict. Next, you should convert this to use CGI.pm, next add in CGI::Carp. This is very Perl4ish as it is and I would rather take the time to help debug it when it is, um, "updated" :) After making those changes, the problem itself may go away or become more apparant.
Cheers,
KM | [reply] |