in reply to Re: How to use CGI::Carp
in thread How to use CGI::Carp

How would re-write this code, based in what you commented on it?

Replies are listed 'Best First'.
Re^3: How to use CGI::Carp
by ikegami (Patriarch) on Jul 01, 2010 at 17:41 UTC
    I would add the semi-colon I said was missing.
      I saw the semicolon but my question was related to this comment you made: "(I don't know why it was split into two instead of being written to both places.)"
        I don't know why CGI::Carp split the error messages into two instead of writing to both the browser and the log in its entirety.
Re^3: How to use CGI::Carp
by OverlordQ (Hermit) on Jul 01, 2010 at 15:59 UTC
    Is this homework or something? That's the only indication I can think of that would make you miss ikegami explaining exactly what's wrong.