use CGI qw( -any ); my $q= CGI->new(); my $tag= "x:ProtectScenarios"; print $q->NoSuchHtmlTag("False"), $/; print $q->$tag("True"), $/;