Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    #This program counts from 1 to 10
    ...
      print $count,"\n";
      $count++;
    }
    
  2. or download this
    #!/usr/bin/perl
    #This program prints out 1 to 10, but only one number
    ...
    } else {
      unlink "/tmp/iterator-state";
    }