develooper Front page | perl.perl5.porters | Postings from November 2003

Re: [perl #24508] Wrong assignment in nested assignment together with subroutine ca ll

Thread Previous
From:
Andreas J Koenig
Date:
November 18, 2003 22:47
Subject:
Re: [perl #24508] Wrong assignment in nested assignment together with subroutine ca ll
Message ID:
87n0asyhwk.fsf@franz.ak.mind.de
>>>>> On Tue, 18 Nov 2003 13:20:24 +0000, Dave Mitchell <davem@fdgroup.com> said:

 >> Andreas, could you try this below with binsearchaperl ?
 >> 
 >> #!perl
 >> sub foo { "x" }
 >> my ($A, $B);
 >> $B = ($A = '' . foo()) . "y";
 >> print "$A,$B" eq "x,xy" ? "ok\n" : "not ok\n";
 >> __END__

  > Looks like 3612 judging by these excerpts from the log:

Confirmed.

-- 
andreas

Thread Previous


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