in reply to Re: Problem with perlcritic when using Moose object
in thread Problem with perlcritic when using Moose object

I don't think it is caused by the contents of $hash as the same error is reported when $Person->shift('one') is called.

I think it is caused by the use of the keyword 'shift', and it is picked up by perlcritic as an attempt to dereference. And yes, I would never use that as a hash key either - note: I didn't write this code