Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by choroba (Cardinal)
on Jan 18, 2022 at 17:34 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-19 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found