Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- But this is NOT my opinion on that!
- Rainer Weikusat
August 2, 2013, 8:55 pm
rate this thread
that should crumble to dust because "Nobody uses CGI.pm !!1) and just
got bitten by the following two lines of code (from Defaults.pm):
print STDERR "ERROR: Can't read $Self->/RELEASE: $! This file is needed by central system parts of OTRS, the system will not work without this file.\n";
This is an incredibly helpful way to report errors because the message
which will land in the Apache error log is
-e: Died at /usr/local/otrs//Kernel/Config/Defaults.pm line 2188.\n
Stuff like this may be a good way to sell 'professional help'
but it should IMNSHO be avoided in code supposed to be used by anyone
except the guy who committed the offence.
Re: But this is NOT my opinion on that!
Some weeks before I wrote for a customer a bridging software between
some linux clusters and his windows java custom application all in
CGI.pm sending XML messages over https using Apache. There were custom
and Apache logs. Customer and his developers really love it.
GI::Carp was very helpful. I barely mention the word Perl.