#!/usr/local/bin/perl -w
use Test::Simple tests => 2;
use CGI; # Test this
my $cgi = CGI->new();
# Test #1—this will be ok
ok(defined($cgi) and ref $cgi eq 'CGI', 'I have your CGI right here!');
my $header = $cgi->header(-type => `text/plain');
# Test #2—this will not be ok
ok($header eq "Content-Type: text/mex");