Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by choroba (Archbishop)
on Jan 18, 2022 at 17:34 UTC ( #11140570=note: print w/replies, xml ) Need Help??


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.!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2022-05-21 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (76 votes). Check out past polls.

    Notices?