my $param = $q->param('report_type'); print "param=" . $param . "
"; if( grep { /$param/ } (qw/case_id hosp_alias sender receiver/) ) { print "we are getting the list
"; } else { print "we are NOT getting the list
"; } #### s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)