Re: Test for functions with operator names

2004-08-13 Thread Andy Lester
On Fri, Aug 13, 2004 at 02:29:40PM +0200, Rafael Garcia-Suarez ([EMAIL PROTECTED]) wrote: > Andy Lester wrote: > > #./perl -T > ^^ > the lack of "!" here gave me a small headache during the integration. Sorry about that. Here's one teeny more patch to add, to minimize the amount of silencing w

Re: Test for functions with operator names

2004-08-13 Thread Rafael Garcia-Suarez
Andy Lester wrote: > Here's a test file that makes sure that even with sub q{}, that q() is > an operator, but &q() and main::q() are function calls. I suggest that > it be called t/comp/operator-subs.t. Thanks, applied as #23215. > #./perl -T ^^ the lack of "!" here gave me a small headache d

Test for functions with operator names

2004-08-13 Thread Andy Lester
Here's a test file that makes sure that even with sub q{}, that q() is an operator, but &q() and main::q() are function calls. I suggest that it be called t/comp/operator-subs.t. A transcription of the IRC conversation that started this discussion is at the bottom of this file. So often we have