Added CGI::Simple to UserAgent.pm.
parent
5f00a08e07
commit
b2aa1749cd
|
@ -30,6 +30,9 @@ handle query_lc => sub {
|
|||
# Return if it doesn't exist in the dictionary.
|
||||
return unless exists $user_agent_qr{$_};
|
||||
|
||||
my $q = new CGI::Simple;
|
||||
my $user_agent = $q->user_agent() || '';
|
||||
|
||||
return $user_agent;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue