Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Until Statement Undocumented #7978

Closed
p5pRT opened this issue Jun 18, 2005 · 3 comments
Closed

Until Statement Undocumented #7978

p5pRT opened this issue Jun 18, 2005 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Jun 18, 2005

Migrated from rt.perl.org#36328 (status was 'resolved')

Searchable as RT36328$

@p5pRT
Copy link
Author

p5pRT commented Jun 18, 2005

From eric-amick@comcast.net

The C<until> statement modifier is documented, but the C<until>
statement itself is not. This patch fills the gap.

Inline Patch
--- perlsyn.pod	Fri Apr 01 04:43:08 2005
+++ perlsyn2.pod	Fri Jun 17 16:37:14 2005
@@ -196,6 +196,8 @@
     if (EXPR) BLOCK elsif (EXPR) BLOCK ... else BLOCK
     LABEL while (EXPR) BLOCK
     LABEL while (EXPR) BLOCK continue BLOCK
+    LABEL until (EXPR) BLOCK
+    LABEL until (EXPR) BLOCK continue BLOCK
     LABEL for (EXPR; EXPR; EXPR) BLOCK
     LABEL foreach VAR (LIST) BLOCK
     LABEL foreach VAR (LIST) BLOCK continue BLOCK
@@ -220,6 +222,8 @@
 
 The C<while> statement executes the block as long as the expression is
 true (does not evaluate to the null string C<""> or C<0> or C<"0">).
+The C<until> statement executes the block as long as the expression is
+false.
 The LABEL is optional, and if present, consists of an identifier
followed by a colon\. The LABEL identifies the loop for the loop control statements C\\, C\\, and C\\.

--
Eric Amick
Columbia, MD

@p5pRT p5pRT closed this as completed Jun 20, 2005
@p5pRT
Copy link
Author

p5pRT commented Jun 20, 2005

@rgs - Status changed from 'new' to 'resolved'

@p5pRT
Copy link
Author

p5pRT commented Jun 20, 2005

From @rgs

Eric Amick (via RT) wrote​:

The C<until> statement modifier is documented, but the C<until>
statement itself is not. This patch fills the gap.

Thanks, applied to bleadperl as change #24902.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant