programming-examples/perl/_Basics/A program that uses the pre-increment operation..pl
2019-11-15 12:59:38 +01:00

8 lines
134 B
Perl

#!/usr/local/bin/perl
$value = 0;
while (++$value <= 5) {
print("value is now $value\n");
}
print("all done\n");