Help for this page

Select Code to Download


  1. or download this
    for(my $i = 0; $i < 10; $i++) {
        # Note to reader: Yes, could have used a trinary here, but those a
    +re hard to read
    ...
        }
        print "even\n";
    }
    
  2. or download this
    for (0 .. 9) {
    
    ...
    
        print "even\n";
    }