#!/usr/bin/perl use CGI; $cgi = CGI->new; $query = $cgi->param("text"); print "my value is: $query\n"; print "Content-type: text/html\n\n";