in reply to Re: correct usage of class attributes
in thread correct usage of class attributes
in your example? Are those done outside the method area with my or like this:$self->{attr_name} = $attr_value
If so, can you have hashes and arrays? thanks SO much!... $self->{height}=6; $self->{weight}=210; ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: correct usage of class attributes
by gjb (Vicar) on May 05, 2004 at 14:20 UTC | |
by Anonymous Monk on May 05, 2004 at 14:26 UTC | |
by gjb (Vicar) on May 05, 2004 at 15:02 UTC |