my $ua_name = $1 if ($ua=~ m/(opera|netscape|gecko|msie)/i);