Help for this page
Select Code to Download
Select
or
download this
my $var = 4; for $var (1 .. 9) { last if $var == 7; } print $var; # prints: 4