I am not too certain about your "wrapper" function.
I'm happy with it. The vast majority of cases return zero or one results. Multiple results are rare, and I know when to expect them and handle them separately. I can always call the original function when such things are needed.
I still think that it makes sense for the fat comma to effect scalar context, though.
In reply to Re^6: mystery function & Odd number of elements in anonymous hash
by Anonymous Monk
in thread mystery function & Odd number of elements in anonymous hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |