But when it runs, "GET" works; but "POST" doesn't.
After a while, I realised it was $ENV{'CONTENT_LENGTH'} that created the error. How come? I thought that was standard stuff?
04-30-2010, 03:43 AM
swom359
An update on the condition, $ENV{'CONTENT_LENGTH'} does return 75 as the value, but it doesn't compute for STDIN....
05-01-2010, 07:32 AM
Sixtease
Don't reinvent the wheel. Use a module, like CGI::Minimal.
05-03-2010, 01:01 AM
sohguanh
Hi I am not trying to convince you to change the approach but I thought CGI has always been a performance problem when load gets heavy ? I still thought Mod_Perl will be the de-facto solution for Perl web apps nowadays but it seems I'm wrong. I was still exploring Mod_Perl and HTML::Mason. Hmm... I think I need some exploration on Perl CGI modules too.