- or download this
# Accessor method
$object->username;
# mutator method
$object->username('bob');
- or download this
# Accessor method
$object->get_username;
# mutator method
$object->set_username('bob');
- or download this
No, because we're perl programmers, not Java programmers :)
...
}
should do the trick fine.