Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2015-01-26 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (196 votes), past polls