How do I disable CGI::Carp?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • megri
    Administrator
    • Mar 2004
    • 802

    How do I disable CGI::Carp?

    The CGI::Carp modules may come in very handy when you are a beginner with Perl, since it outputs error messages to the browser instead of to the server error log. Anyway, to stop using the CGI::Carp module, open all the .cgi files, and find this line:
    use CGI::Carp qw(fatalsToBrowser);
    You need to comment this line, by placing a "#" in front of the line, so it'll look like this:
    #use CGI::Carp qw(fatalsToBrowser);
    or you can delete the line. The cgi script won't use the module now.
    Parveen K - Forum Administrator
    SEO India - TalkingCity Forum Rules - Webmaster Forum
    Please Do Not Spam Our Forum
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎