Wow, the smart-match operator made that easy :)  That does mean that the module can't work on < 5.10; that's probably fair enough though, as 5.8.8 is ancient.