my $value = defined( $cgi->param( 'text' ) ) ? $cgi->param( 'text' ) : '';