chomp(my @HANT = <$handle>); ... plan tests => scalar @hant;