Thread Carp vs CGI::Carp (5 answers)
Opened by dude at 2009-03-18 19:45

pq
 2009-03-18 19:49
#119563 #119563
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
hm, in der doku steht:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
       CGI scripts have a nasty habit of leaving warning messages in the error
logs that are neither time stamped nor fully identified. Tracking down
the script that caused the error is a pain. This fixes that. Replace
the usual

use Carp;

with

use CGI::Carp

Also solltest du das Carp ganz rauslassen, da CGI::Carp Carp ersetzt und nicht ergänzt.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Carp vs CGI::Carp