Use strict

Because it's good for you.
Hush the smart match warning in Perl >= 5.018

Why the Perl developers would add an experimental warning in 5.018 for a
feature available since 5.010, I'll never know.