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

Better error messages from Moo?

by szabgab (Priest)
on Jun 15, 2013 at 13:02 UTC ( [id://1039117]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Person;
    use Moo;
    ...
    has name => (is => 'rw', required => 1);
    
    1;
    
  2. or download this
    use Person;
    my $anonymous = Person->new;
    
  3. or download this
    Missing required arguments: name at (eval 13) line 30.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-05-22 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found