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
In reply to Re: Getter and Setter Function Names
by zby
in thread Getter and Setter Function Names
by Wally Hartshorn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |