- or download this
my %main;
my $mfile = prompt( "Main file?" );
...
close MAIN;
chomp @$_ for values %main;
- or download this
my $afile = prompt( "Annotation file?" );
open ANNOT, '<', $afile or die "$afile: $!";
open OUTPUT, '>', 'output.txt' or die $!;
- or download this
OUTER: while( <ANNOT> ) {
chomp;
...
}
}
}
- or download this
Ms------Me
As------Ae
- or download this
Ms------Me
As------Ae
- or download this
OUTER: while( <ANNOT> ) {
chomp;
...
print OUTPUT "$atag\t$mess";
}
}
- or download this
my( $first, $lastTag ) = ( 0, '' );
OUTER: while( <ANNOT> ) {
...
print OUTPUT "$atag\t$mess";
}
}
- or download this
C:\test>664760-gen > 664760.main
C:\test>wc -l 664760.main
...
C:\test>wc -l output.txt
112805 output.txt
- or download this
#! perl -slw
use strict;
...
C:\test>wc -l output.txt
112805 output.txt