You can use things like wantarray and Want to try and figure out the context of the method call to be smart about the return value allowing more behavior. I prefer the KISS method over smart approaches most of the time.
Whatever you decide - document, document, document!
Cheers - L~R
In reply to Re: 'Set' Method Return Value
by Limbic~Region
in thread 'Set' Method Return Value
by jdhedden
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |