On Thu, Sep 10, 2015 at 11:26 AM, Ricardo Signes <perl.p5p@rjbs.manxome.org> wrote: > # Why do we warn on smart match in void? smart match can have side > effects > # like capturing or whatever the subroutine does. I'm not sold on this > # warning. -- rjbs, 2015-09-09 > # $_ ~~ \&test; > So can `$_ eq $obj`, yet we want that to warn. I don't believe we want C++ where `<<` can do anything; we still expect `~~` to perform a smart match even if the specific definition of that is customizable.Thread Previous | Thread Next