Remove the use of smartmatch operators

The use of smartmatch operators is deprecated on Perl 5.18 and
the QA check scripts should avoid it :-D