Think about Loose Coupling | |
PerlMonks |
Re^4: CGI::Carp fatalsToFileby Bod (Parson) |
on Oct 05, 2021 at 23:17 UTC ( [id://11137249]=note: print w/replies, xml ) | Need Help?? |
Just omitting CGI::Carp and just using plain old Carp should do the trick It's late here so a quick test before I head to bed... The only remaining problem might be the hoster: Some really cheap hosters prevent you from reading your server's error log I've never been entirely sure what the cPanel error log actually is so I have dived into the documentation to find out. Its says "The interface includes entries in the /usr/local/apache/logs/suexec_log file and the /usr/local/apache/logs/error_log file" Not knowing a great deal about the inner workings of Apache and cPanel, it looks to me like the latter will be the right error log file where these sorts of errors should be written. Certainly lots of "File does not exist" errors get written there along with a few Perl warnings and the odd MariaDB error. The script I am calling gets listed in the suEXEC log but the one that it calls (the one with the error) does not.
In Section
Seekers of Perl Wisdom
|
|