will work. I think the point wasn't about incrementing a variable by one, but feeling the need to document it. I do see the point in documenting it (not in what the code does, but why it does it), but to each their own.$self->total++; # nor $self->total = $self->total + 1;
Cheers - L~R
In reply to Re^3: The joys of bad code
by Limbic~Region
in thread The joys of bad code
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |