Help for this page

Select Code to Download


  1. or download this
    for (1,2,3..9,-12) {
       if ($i == $_) {
    ...
           last;
       }
    }
    
  2. or download this
    print "$i is a 1, 2, 3, 4, 5, 6, 7, 8, 9, or -12\n" 
         if grep { $_ == $i } (1,2,3..9,-12);