Thanks for the clarification. Two other points, which you are probably well aware of but some readers might not be:
return; and return(); are the same, although the brackets do make it more visually distinct and perhaps that's your point.
return; in list context returns the empty list. This means it is effectively the same as return wantarray ? () : undef; unless it is called in void context. Your use of it when not expecting a return value implies void context, though, so perhaps this point is moot.
In reply to Re^4: What to test in a new module
by swl
in thread What to test in a new module
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |