Re: Perl with Ajax issue

[email protected] ("David Dorward") Tue, 13 Aug 2019 09:41:51 +0100
Newsgroups perl.beginners.cgi
Message-ID <[email protected]>
--=_MailMate_61418ECA-56E8-48CC-BBDA-F45A6F344955_=
Content-Type: text/plain; format=flowed
Content-Transfer-Encoding: quoted-printable

On 12 Aug 2019, at 19:45, Matt Zand wrote:

> use CGI;

Do read [CGI: CGI.pm has been removed from the Perl core][1]

> Should I install Perl on the server or does it come with Apache =

> package.

Apache HTTPD does not include a Perl distribution although some =

third-party bundles include both Perl and Apache HTTPD.

You would also need to configure Apache so it will run the Perl program =

through the perl runtime.

> I am getting no response.

If you are getting no response at all, then your problem is unlikely to =

be related to a lack of Perl. That would cause it to return an error =

response.


[1]: =

https://metacpan.org/pod/distribution/CGI/lib/CGI.pod#CGI.pm-HAS-BEEN-REM=
OVED-FROM-THE-PERL-CORE
--=_MailMate_61418ECA-56E8-48CC-BBDA-F45A6F344955_=
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"=
>
</head>
<body>
<div style=3D"font-family:sans-serif"><div style=3D"white-space:normal">
<p dir=3D"auto">On 12 Aug 2019, at 19:45, Matt Zand wrote:</p>

</div>
<div style=3D"white-space:normal"><blockquote style=3D"border-left:2px so=
lid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir=3D"auto">u=
se CGI;</p>
</blockquote></div>
<div style=3D"white-space:normal">

<p dir=3D"auto">Do read <a href=3D"https://metacpan.org/pod/distribution/=
CGI/lib/CGI.pod#CGI.pm-HAS-BEEN-REMOVED-FROM-THE-PERL-CORE" style=3D"colo=
r:#3983C4">CGI: CGI.pm has been removed from the Perl core</a> </p>

</div>
<div style=3D"white-space:normal"><blockquote style=3D"border-left:2px so=
lid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir=3D"auto">S=
hould I install Perl on the server or does it come with Apache package.</=
p>
</blockquote></div>
<div style=3D"white-space:normal">

<p dir=3D"auto">Apache HTTPD does not include a Perl distribution althoug=
h some third-party bundles include both Perl and Apache HTTPD.</p>

<p dir=3D"auto">You would also need to configure Apache so it will run th=
e Perl program through the perl runtime.</p>

</div>
<div style=3D"white-space:normal"><blockquote style=3D"border-left:2px so=
lid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir=3D"auto">I=
 am getting no response.</p>
</blockquote></div>
<div style=3D"white-space:normal">

<p dir=3D"auto">If you are getting no response at all, then your problem =
is unlikely to be related to a lack of Perl. That would cause it to retur=
n an error response. </p>
</div>
</div>
</body>
</html>

--=_MailMate_61418ECA-56E8-48CC-BBDA-F45A6F344955_=--