http://qs1969.pair.com?node_id=11140570


in reply to Moose throwing error with some data which doesn't match the 'Object' constraint, what should I do?

Moose doesn't provide validate_subs. I can't even find any MooseX package providing it. I only see it in MooX::ValidateSubs. Is that what you're using?

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
  • Comment on Re: Moose throwing error with some data which doesn't match the 'Object' constraint, what should I do?
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: Moose throwing error with some data which doesn't match the 'Object' constraint, what should I do?
by LittleJack (Beadle) on Jan 18, 2022 at 21:38 UTC

    Oh damn, but yes, that must be what's going on. Thanks for your help, back to the drawing board etc.!