if ( defined($obj_cgi->param('order')) and ($obj_cgi->param('order') eq 'name') ) { # code ... }