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