programming-examples/perl/Statement/Goto statement with label.pl
2019-11-15 12:59:38 +01:00

5 lines
86 B
Perl

INPUT: $line = <>;
if ($line !~ /exit/) {
print "Try again\n";
goto INPUT
}