Subject: | t/bug.t failed to pass without CGI installed |
The code quoted below will make the test plan broken if I didn't install
CGI first.
=quote
eval { require CGI };
unless ($@) {
isa_ok(CGI->new(''), "CGI");
}
=end
The test will give out:
# Looks like you planned 8 tests but only ran 7.
The information seems meaningless. Nobody can get what happened without
taking a look at the source code.