if( $query->param( 'agreed' ) eq 'yes' ) { ... } if( $query->param( 'uppercase' ) eq 'sure' ) { ... }