I partially agree. Any math operation (excluding ==) on a reference that doesnt have the references nummified by 0+$ref and doesnt have the operators in question overloaded in the package the ref is blessed into should warn. Anything else should not, as it allows the author to signal "yes I am doing this on purpose" and as 0+$ref is such a common idiom (albeit a moderately dangerous one due to overloading). Likewise you don't want warnings flying everywhere when you are using bigint objects with overloading.
In reply to Re: The trap of reference numification
by demerphq
in thread The trap of reference numification
by samtregar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |