in reply to Re: Buffered STDIN
in thread Buffered STDIN

I am using the POST method, so I don't think the growing URL is the problem.

Since there are only one or two user inputs, I am also not sure that CGI.pm would we worthwhile. I am quite new and inexperienced with Perl, however, so what do I know?

Sojourner

Replies are listed 'Best First'.
Re: Buffered STDIN
by Sojourner (Initiate) on Jul 18, 2001 at 19:35 UTC

    Thank you all for your input and help! I think I have solved the problem. I have switched to using CGI.pm - Cirollo, you mentioned this - instead of cgi-lib.pl to call the ReadParse sub and now it works properly.

    You guys have a great place here at PM! Keep up the good work and God bless.

    Sojourner

Re: Re: Buffered STDIN
by Sifmole (Chaplain) on Jul 18, 2001 at 19:05 UTC
    CGI.pm is generally quite worthwhile. The regularity with which its use is recommended by the knowledgable people of this site and others should give you some thought.

    Are you using a persistent Perl app? FastCGI, mod_perl, or some-such? You could be having a situation where you are not clearing the input buffer you are reading from. Using CGI would solve that problem.