develooper Front page | perl.perl5.porters | Postings from August 2001

Found = in conditional, should be ==

Thread Next
From:
Peter Scott
Date:
August 14, 2001 17:25
Subject:
Found = in conditional, should be ==
Message ID:
4.3.2.7.2.20010814172056.00aeb490@mail.webquarry.com
I was a little miffed to get this warning for the line

	$File::Find::prune = 1 and return if -d && /^(?:$IGNOREDIR)$/

Any chance of making Perl smart enough to tell this apart from yer 
common-or-garden if ($x = 42) bug?
--
Peter Scott
Pacific Systems Design Technologies


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About