jack778 has asked for the wisdom of the Perl Monks concerning the following question:
I installed the module in the server. To ensure it works, I've written a test script as follows:
Ran the script but it returned "Internal Server Error" in the browser. The server log files indicates the problem is due to "End of script output before headers".#!/usr/bin/perl use Captcha::reCAPTCHA::V2; print "Content-type: text/html\n\n"; print "Hello World<br>\n"; exit;
If I do this in the script:
it works.#!/usr/bin/perl #use Captcha::reCAPTCHA::V2; print "Content-type: text/html\n\n"; print "Hello World<br>\n"; exit;
So the "End of script output before headers" error has to do with Captcha::reCAPTCHA::V2.
Could you kindly advise how to use Captcha::reCAPTCHA::V2?
Thanks,
Jack
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Captcha::reCAPTCHA::V2 Not Working
by Corion (Patriarch) on Jan 10, 2019 at 14:53 UTC | |
by jack778 (Initiate) on Jan 11, 2019 at 04:42 UTC | |
|
Re: Captcha::reCAPTCHA::V2 Not Working
by 1nickt (Canon) on Jan 10, 2019 at 14:50 UTC | |
by jack778 (Initiate) on Jan 11, 2019 at 04:54 UTC | |
|
Re: Captcha::reCAPTCHA::V2 Not Working
by holli (Abbot) on Jan 10, 2019 at 18:42 UTC | |
by soonix (Chancellor) on Jan 11, 2019 at 08:00 UTC | |
by jack778 (Initiate) on Jan 11, 2019 at 04:46 UTC | |
by hippo (Archbishop) on Jan 11, 2019 at 09:17 UTC | |
by jack778 (Initiate) on Jan 11, 2019 at 12:58 UTC | |
by marto (Cardinal) on Jan 11, 2019 at 13:06 UTC |