in reply to (bbfu) (CGI::Carp) Re: die function error
in thread die function error

I guess I'm stupid here. I changed the code to.
if ($size > $max) { print "You have exceeded your limit of $max for the directory $email_a +ddr +ess\n"; }
I still get the internal server error, only when the $max is exceeded.

Replies are listed 'Best First'.
(bbfu) Re2: (bbfu) (CGI::Carp) Re: die function error
by bbfu (Curate) on Dec 04, 2002 at 01:29 UTC

    You're probably not returning valid HTTP response headers. Use CGI and print $cgi->header().

    bbfu
    Black flowers blossum
    Fearless on my breath