use warning; #### use warnings; #### $ncc = 0; $pc = 0; $fc = 0; #### my $ncc = 0; my $pc = 0; my $fc = 0; #### sub fileA_ext() { #### sub fileA_ext { #### while (@array = ) { #### my @array = ; #### foreach $line(@array) { #### foreach my $line ( @array ) { #### $name1 = "$1"; $score1 = "$12"; #### $name1 = $1; $score1 = $12; #### foreach $line (@tmp1) { #### foreach my $line ( @tmp1 ) { #### my $name2 = "$1"; substr($name2, -13) = ''; my $score2 = "$12"; #### my $name2 = $1; substr($name2, -13) = ''; my $score2 = $12; #### sub FileB_ext() { #### sub FileB_ext { #### while (@array = ) { #### my @array = ; #### foreach $line(@array) { #### foreach my $line ( @array ) { #### my $name3 = "$1"; my $score3 = "$12"; #### my $name3 = $1; my $score3 = $12; #### foreach $line (@tmp2) { #### foreach my $line ( @tmp2 ) { #### my $name4 = "$1"; substr($name4, -13) = ''; my $score4 = "$12"; #### my $name4 = $1; substr($name4, -13) = ''; my $score4 = $12; #### sub check() { #### sub check { #### foreach $data1 (@arr1) { #### foreach my $data1 ( @arr1 ) { #### my $ep1 = "$1"; my $s1 = "$2"; #### my $ep1 = $1; my $s1 = $2; #### foreach $data2 (@arr2) { #### foreach my $data2 ( @arr2 ) { #### my $ep2 = "$1"; my $s2 = "$2"; #### my $ep2 = $1; my $s2 = $2; #### if ( $ep1 eq $ep2 && $s1 =~ m/-/g) { #### if ( $ep1 eq $ep2 && $s1 =~ m/-/) { #### if ( $ep1 eq $ep2 && $s1 !~ m/-/g && $s1 > 50 && $s2 > 40) { #### if ( $ep1 eq $ep2 && $s1 !~ m/-/ && $s1 > 50 && $s2 > 40) { #### if ( $ep1 eq $ep2 && $s1 !~ m/-/g && $s1 < 50 && $s2 < 40) { #### if ( $ep1 eq $ep2 && $s1 !~ m/-/ && $s1 < 50 && $s2 < 40) {