#!/usr/bin/perl my $agent = $ENV{HTTP_USER_AGENT}; if ($agent =~ /MSIE/) { print "Content-Type: text/html\n\n"; print "\You\'re\ using\ Microsoft\®\;\ Internet\ Explorer\®\;\ 5\.0\<\/span\>\n"; } else { print "Content-Type: text/html\n\n"; print "\You\'re\ not\ using\ Microsoft\®\;\ Internet\ Explorer\®\;\ 5\.0\<\/span\>\n"; } exit 0;