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

Re: [PATCH B::Deparse] non-block scopes

Thread Previous
From:
Jarkko Hietaniemi
Date:
April 28, 2001 12:35
Subject:
Re: [PATCH B::Deparse] non-block scopes
Message ID:
20010428100949.D26955@chaos.wustl.edu
On Fri, Apr 27, 2001 at 07:15:14PM +0100, Robin Houston wrote:
> The patch below causes B::Deparse to honour non-block scopes, so
> that tests like:
> 
>   my $x="ok 1\n";
>   do {
>     my $x="not ok 1\n";
>   };
>   print $x;
> 
> will pass after being passed through it. (Another variation is
> C<if (1) { ... }>).
> 
> I realise that the implementation might get me lynched. In my defense
> I can say:

I saw no people with pitchforks and torches, so applied.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

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