Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Problem with perlcritic when using Moose object

by bangor (Monk)
on Oct 04, 2018 at 15:42 UTC ( [id://1223536]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1223536]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2026-03-12 19:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.