You'd best have a look at the CPAN modules dealing with Statistics. There are a few that implement T-tests, but I'd have to browse them to see whether there's one defining an F-test directly, although Statistics::Distributions may be helpful.