The errors I'm getting look like this:
The "did not send an HTTP header" has nothing to do with the header, but with premature exiting of code execution due to other problems. The "Undefined subroutine" seems to be the issue, and I have no clue why. Once, with a similar error message, I restarted the apache2 server and all was well. But that no longer works on this new message. I am left not knowing whether my apache2 server is at issue, or whether it is this code--but probably the latter. There's certainly no point trying to publish code that is not first functional, so any help on this would be much appreciated.[Mon Oct 30 05:11:03.311339 2023] [core:error] [pid 188075:tid 1396602 +23264320] [client 192.168.1.101:53954] Premature end of script header +s: test-thai-mod.pl [Mon Oct 30 05:11:03.311358 2023] [perl:warn] [pid 188075:tid 13966022 +3264320] /cgi/test-thai-mod.pl did not send an HTTP header [Mon Oct 30 05:11:03.311388 2023] [:error] [pid 188075:tid 13966022326 +4320] Undefined subroutine &ModPerl::ROOT::ModPerl::PerlRun::var_www_ +cgi_test_2dthai_2dmod_2epl::IsThaiLCons called at /var/www/cgi/test-t +hai-mod.pl line 24.\n
Blessings,
~Polyglot~
In reply to Re^4: Listing out the characters included in a character class [v5.38]
by Polyglot
in thread Listing out the characters included in a character class
by Polyglot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |