Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Using ArrayRef data members in Moose

by karavelov (Monk)
on Jul 01, 2008 at 23:38 UTC ( #695049=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Using ArrayRef data members in Moose
in thread Using ArrayRef data members in Moose

I think that it works quite the same with arrayrefs:

$obj->weight()->[0] = 10;


Comment on Re^3: Using ArrayRef data members in Moose
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2014-04-21 08:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (492 votes), past polls