diff options
author | Stephen McCamant <smcc@mit.edu> | 2001-01-03 05:48:04 -0800 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-01-04 18:54:07 +0000 |
commit | 646bba827d867c3a9ec63754025d124b158b6337 (patch) | |
tree | 46b70aeda33160ce5f759ef7a26a2665bc7d9772 /ext | |
parent | 58cccf98a8ed478d6cf084cb2de62268c379cbc6 (diff) | |
download | perl-646bba827d867c3a9ec63754025d124b158b6337.tar.gz |
Re: [PATCH @8269] Continue blocks and B::Deparse
Message-ID: <14931.40265.379608.910008@soda.csua.berkeley.edu>
Doc tweak on #8313.
p4raw-id: //depot/perl@8314
Diffstat (limited to 'ext')
-rw-r--r-- | ext/B/B/Deparse.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/B/B/Deparse.pm b/ext/B/B/Deparse.pm index ea95473764..b0a5eaeb38 100644 --- a/ext/B/B/Deparse.pm +++ b/ext/B/B/Deparse.pm @@ -2869,8 +2869,8 @@ B::Deparse - Perl compiler backend to produce perl code =head1 SYNOPSIS -B<perl> B<-MO=Deparse>[B<,-u>I<PACKAGE>][B<,-p>][B<,-q>][B<,-l>][B<,-s>I<LETTERS>] - I<prog.pl> +B<perl> B<-MO=Deparse>[B<,-u>I<PACKAGE>][B<,-p>][B<,-q>][B<,-l>] + [B<,-s>I<LETTERS>][B<,-x>I<LEVEL>] I<prog.pl> =head1 DESCRIPTION @@ -3023,7 +3023,7 @@ meaning more expansion. As with B<-q>, this actually involves turning off special cases in B::Deparse's normal operations. If I<LEVEL> is at least 3, for loops will be translated into equivalent -while loops with a continue block; for instance +while loops with continue blocks; for instance for ($i = 0; $i < 10; ++$i) { print $i; @@ -3039,7 +3039,7 @@ turns into } Note that in a few cases this translation can't be perfectly carried back -into the source code -- if the loop'd initializer declares a my variable, +into the source code -- if the loop's initializer declares a my variable, for instance, it won't have the correct scope outside of the loop. If I<LEVEL> is at least 7, if statements will be translated into equivalent |