in reply to What should be returned in scalar context?
Of course, if the function is for "public" consumption, the return type should be specified in the documentation as well as in the comments preceeding the function.
So far as "standardizing" goes, I think I agree with those who don't standardize. So long as the function is documented properly, why not write in whatever manner best fits its purpose?
|
|---|