Add 'use experimental smartmatch' for perl 5.18+