Help for this page

Select Code to Download


  1. or download this
    open(F, "/usr/dict/words") || warn;  # File to process
    $s=-s F;
    ...
          # Do something with the data I presume...
          printf "\rComplete %.2f", 100*tell(F)/$s;
    }
    
  2. or download this
      printf("\rComplete: %.2f", 100*tell(F)/$s) unless $i++ % 10;