- or download this
#!/usr/bin/perl
- or download this
print "reading 'ansvarig_vardenhet_utf8.txt'\n";
- or download this
open(WIN, "icd-10-codes.txt");
- or download this
while($line = <WIN>) {
- or download this
@columns = split(/\t/, $line);
- or download this
#print "$columns[1]";
- or download this
foreach my $value (@columns) {
#print "$value\n"
}
- or download this
close(WIN);
- or download this
print "reading 'ansvarig_vardenhet_utf8.txt'\n";
open(IN, "female1.txt");
while($line = <IN>) {
- or download this
%col = split(/ /, $line);
- or download this
#print "$columns[1]\n";
- or download this
foreach my $val (%col) {
- or download this
if($val == $columns[0]){
$val =~ s/$val/$columns[1]/g;
- or download this
print IN ">>$val\n";
- or download this
close(IN);
- or download this
I am a beginner in PERL.
- or download this
#!/usr/bin/perl
use strict;
...
close $out_fh
or warn "Cannot close '$out_path': $!\nSome data may not have been
+ written.";