use CGI; my $cgi = CGI->new(); my $text_input = $cgi->param('text') || "The quick brown fox jumped over a lazy dog.";