visual: disable smartmatch warnings on perl 5.018+