Why isn't your salary in the database? Why aren't you changing it there?
If your object is simply an access layer above the database (Class::DBI or something along those lines), then the mutator is no longer trivial.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
In reply to Re^9: Assignable Subroutines
by hardburn
in thread Assignable Subroutines
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |