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

How to misuse code coverage

2004-08-13 Thread Andy Lester
A link from Ask Bjoern Hansen's blog: http://www.askbjoernhansen.com/ How To Misuse Code Coverage http://testing.com/writings/coverage.pdf xoa -- Andy Lester = [EMAIL PROTECTED] = www.petdance.com = AIM:petdance

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 during

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 we do.