A couple of easy-to-fix tips :
Yes, that could be single-ligned like$self->{num} += $add; return $self->{num};
In reply to Re: A very simple OO example for total beginners
by NetWallah
in thread A very simple OO example for total beginners
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |