Help for this page

Select Code to Download


  1. or download this
    if ( /1tally\s\s(\d+)\s+nps\s=/i ) {
      foreach ( 1 .. 5 ) {
    ...
      }
      next;
    }
    
  2. or download this
    while (<OUT>) {
      last if /^\s+energy\n$/;
    ...
      $energy_value = $1.$dot.$2.$3.$4;
    #...
    }