Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 cooling their heels in the Monastery: (5)
As of 2015-08-29 16:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (343 votes), past polls