print header(); if ($ENV{'REQUEST_METHOD'} eq 'POST') { read (STDIN, $input, $ENV{'CONTENT_LENGTH'}) || print "could not execute query "; print "got into POST - $input $ENV{'CONTENT_LENGTH'} " . ; @pairs = split(/&/, $input); }