Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.283 kb
#!/usr/bin/perl
sub t1 {
for my $x (0, 1, 2) {
my $y = 3 if $x && $x == 2;
}
}
sub t2 {
for my $x (0, 1, 2) {
return if $x && $x == 2;
}
}
sub t3 {
for my $x (0, 1, 2) {
last if $x && $x == 2 && $x == 2 && $x == 2;
}
}
t1;
t2;
t3;
Jump to Line
Something went wrong with that request. Please try again.