Online Programming Reference Guides - Perl
[an error occurred while processing this directive]
Contents
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]
[an error occurred while processing this directive]

4.4 The while/until Structures

The while structure is equivalent to the while structures in Java, C, or C++. The code executes while the expression remains true.

use strict; while (expression) { While_Statement; While_Statement; While_Statement; }

The until (expression) structure is functionally equivalent while (! expression).





[an error occurred while processing this directive]