I think there is a spelling error, it should be:
 +                unless (grep $_ eq "Kernel::Output::HTML::$File", @ISA) {