in reply to How can I get information about the user's browser?

using CGI.pm

use CGI; my $q = new CGI(); my $UserAgent = $q->user_agent(); ...