Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Loops-Continue/Perl/loops-continue-1.pl
Normal file
8
Task/Loops-Continue/Perl/loops-continue-1.pl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
foreach (1..10) {
|
||||
print $_;
|
||||
if ($_ % 5 == 0) {
|
||||
print "\n";
|
||||
next;
|
||||
}
|
||||
print ', ';
|
||||
}
|
||||
9
Task/Loops-Continue/Perl/loops-continue-2.pl
Normal file
9
Task/Loops-Continue/Perl/loops-continue-2.pl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
foreach (1..10) {
|
||||
print $_;
|
||||
if ($_ % 5 == 0) {
|
||||
print "\n";
|
||||
goto MYLABEL;
|
||||
}
|
||||
print ', ';
|
||||
MYLABEL:
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue