Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Passing arrayref to Moose attributes

by hdb (Prior)
on Apr 20, 2013 at 14:12 UTC ( #1029643=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     isa => sub {
       die "$_[0] is not a number!" unless looks_like_number $_[0]
     },
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1029643]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-02-28 17:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (407 votes). Check out past polls.