develooper Front page | perl.perl5.porters | Postings from April 2004

Re: [perl #28123] Perl optimizes // away incorrectly

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
April 5, 2004 00:30
Subject:
Re: [perl #28123] Perl optimizes // away incorrectly
Message ID:
20040405092716.8D12.H.M.BRAND@hccnet.nl
On Thu 01 Apr 2004 08:22, Marcus Holland-Moritz <mhx-perl@gmx.net> wrote:
> I can confirm that this bug is still present in the latest
> development version of perl. The problem was that the same
> short-circuit optimization was used for || and //.
> 
> The attached patch (applied to bleadperl as change #22625)
> should fix it.

Thanks, that change now also included in the dor-patch for 5.8.x
most recent version available on CPAN

	$CPAN/authors/id/H/HM/HMBRAND/dor@22645.diff

Enjoy, Have FUN!

> Marcus

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.3, & 5.9.x, and 806 on  HP-UX 10.20 & 11.00, 11i,
   AIX 4.3, SuSE 9.0, and Win2k.           http://www.cmve.net/~merijn/
http://archives.develooper.com/daily-build@perl.org/   perl-qa@perl.org
send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org




Thread Previous | 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