in reply to Getter and Setter Function Names
I just don't see the any advantage in using a specialized functions for it. Getting and setting values of variables is something so basic for programming that I find it the most intuitive way for the task.$obj->{property} = 'something'; # for setting $somevar = $obj->{property}; # to get the value
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Getter and Setter Function Names
by Biker (Priest) on Apr 10, 2003 at 15:39 UTC | |
by zby (Vicar) on Apr 10, 2003 at 15:44 UTC |