Smartmatch has changed substantially in bleadperl. This breaks some
parts of the autodie distro, which therefore need an update.
There are two main changes affecting autodie. The first is that
smartmatch overloading now only takes effect on the rhs. The second
is that things other than smartmatch-overloaded object references are
not valid on the rhs of smartmatch. The first core release with these
changes will be Perl 5.27.7, due on 2017-12-20.
Blead's bundled copy of autodie has been customised to take account of the
core changes. The customised version of autodie should be appropriate
for both old and new Perls, though this hasn't been tested. You should
find the customisations to be a decent basis for your canonical update.
-zefram

The core smartmatch changes in 5.27.7 have been reverted in blead because
of CPAN breakage. Changes along these lines are still likely to be made
in the future, but preceded by a deprecation process.
The core still has a customised autodie, on the basis that the
customisation future-proofs the module. I still recommend that the
upstream autodie should incorporate these or similar changes, to allow
for the likely future changes to smartmatch. I've tweaked the customised
documentation in blead to avoid making now-inaccurate statements about
the core changes being current.
-zefram