Re: Suggested warning

2004-11-07 Thread Larry Wall
On Sun, Nov 07, 2004 at 12:40:45PM -0500, Aaron Sherman wrote: : I would like to suggest that we define: : : multi sub *infix:+(...) {...} : : Will always generate a warning (not just for C, but for any : operator) if used outside of a class definition or if used inside a : class definition

Suggested warning

2004-11-07 Thread Aaron Sherman
I would like to suggest that we define: multi sub *infix:+(...) {...} Will always generate a warning (not just for C, but for any operator) if used outside of a class definition or if used inside a class definition where the current class does not appear in the list of parameters. That i