Advertisement
cwchen

[Perl 6] next demo.

Oct 5th, 2017
542
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 6 0.10 KB | None | 0 0
  1. loop (my $i = 1; $i <= 10; $i++) {
  2.     if $i % 2 != 0 {
  3.         next;
  4.     }
  5.    
  6.     $i.say;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement