18 lines
299 B
Perl
18 lines
299 B
Perl
#!/usr/local/bin/perl -w
|
|
|
|
# Define the label name.
|
|
EXIT:
|
|
{
|
|
for (;;)
|
|
{
|
|
my $x = 0;
|
|
for (;;$x++)
|
|
{
|
|
print "$x, \n";
|
|
last EXIT if $x >= 5;
|
|
}
|
|
}
|
|
}
|
|
print "Out of for loops.\n";
|
|
|