Here's a few roads you could go down...
- experimental - can be used to simply disable the warning
- Switch::Plain - a module providing a simple switch statement, but just using eq/== and not smart match
- match::smart - a pure perl implementation of the logic of smart match, but not the smart match syntax
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name