Hi

After posting the form i dont see anything in STDIN however if i submit the form as GET request then i can see the value in $ENV{QUERY_STRING}.

I will really appreciate if anybody can help me in this issue.

Thanks
Arun Mittal

Recommended Answers

All 3 Replies

my $post_string=<DATA>;

Sorry...

my $post_string=<STDIN>;

And also try to read your variables like this..


my $d=param('foo') to check with post and
my $d=uri_param('foo') with get.

debugging stuff ;)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.