develooper Front page | perl.perl5.porters | Postings from June 2008

Re: [perl #56150] return return

Thread Previous | Thread Next
From:
David Nicol
Date:
June 20, 2008 12:21
Subject:
Re: [perl #56150] return return
Message ID:
934f64a20806201220nef8c2d8p5918e02d57b5a637@mail.gmail.com
On 6/20/08, Yitzchak Scott-Thoennes <sthoenna@efn.org> wrote:

>  > general "code unreachable" warning
>
>  which return(return) would trigger but return($x || return) would not

but

   my $x=0;  return($x || return)

would, if we can apply used-as-lvalue analysis to constant folding

(ivory-tower to the point of being off-topic)

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