How to retrieve POST data using perl fcgi

Mike Chen <[email protected]> Thu, 6 Sep 2012 23:57:53 -0600
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <CAEez=D28=uXuOeNO2Edkk7EuO0Y-zeh54BxN_6s7nttOw+n7TQ@mail.gmail.com>
--===============3927486691386028890==
Content-Type: multipart/alternative; boundary=f46d042e0089ed9edf04c9164969

--f46d042e0089ed9edf04c9164969
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I am using Apache 2.0, fcgi and  PERL 5.8. I use POST method in my HTML
form to submit data. On my server side, where can I retrieve posted data?
Here is my server side PERL code snippet:

while (my $q = CGI::Fast->new) {
   $post_data = <STDIN>;
}

I got nothing back from STDIN. I have hard time to find document about
CGI::Fast API. I went through this list's archive articles and FAQ. I did
not see an answer.
I would really appreciate any help (with some code snippet). Thanks!

Peggy

--f46d042e0089ed9edf04c9164969
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,<br><br>I am using Apache 2.0, fcgi and=A0 PERL 5.8. I use POST method i=
n my HTML form to submit data. On my server side, where can I retrieve post=
ed data? Here is my server side PERL code snippet:<br><br>while (my $q =3D =
CGI::Fast-&gt;new) {<br>
=A0=A0 $post_data =3D &lt;STDIN&gt;;<br>}<br><br>I got nothing back from ST=
DIN. I have hard time to find document about=A0 CGI::Fast API.  I went thro=
ugh this list&#39;s archive articles and FAQ. I did not see an answer.<br>
I would really appreciate any help (with some code snippet). Thanks!<br><br=
>Peggy<br>

--f46d042e0089ed9edf04c9164969--

--===============3927486691386028890==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers

--===============3927486691386028890==--