That's certainly wins for brevity and works a treat but it would seem the smartmatch op is (still) considered deprecated/experimental:
https://metacpan.org/pod/release/RJBS/perl-5.18.0/pod/perldelta.pod#The-smartmatch-family-of-features-are-now-experimental-Simon
In reply to Re^4: Difference between two arrays - is there a better way?
by SimonSaysCake
in thread Difference between two arrays - is there a better way?
by blindluke
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |