Help for this page

Select Code to Download


  1. or download this
    _________________________
    12 dd
    ...
      };
    }
    ____________________________________
    
  2. or download this
    sub get_record_from_file {
     my $filein = shift;
    ...
    }
    
    $record = get_record_from_file("input.txt","DH:",0);
    
  3. or download this
    sub get_record_from_file {
     my $filein = shift;
    ...
    }
    my $curpos = 0;
    ($record,$curpos) = get_record_from_file("input.txt","DH:",$curpos);
    
  4. or download this
    #!/usr/bin/env perl
    
    ...
            return eof $dh_fh;
        } 
    }
    
  5. or download this
    $ pm_get_multi_rec.pl
    Get next DH record (y/n): y
    ...
    }
    ============================================================
    No more DH records!