in reply to Problem with perlcritic when using Moose object

This sounds like it's from the Perl::Critic::Policy::Freenode::DeprecatedFeatures policy which I wrote, and is a clear false positive (autoderef capable functions would never be called as methods). I've opened an issue to look into it.
  • Comment on Re: Problem with perlcritic when using Moose object

Replies are listed 'Best First'.
Re^2: Problem with perlcritic when using Moose object
by Anonymous Monk on Oct 05, 2018 at 23:33 UTC
    Gotta check if there is a previous sibling that is a token operator "->"
    $Buggy # and silly ->shift # billy :) ( $FalsePositive );