You didn't verify that either open succeeded. You didn't chomp the value you are using as a file name so it probably failed!
my $score = 100_000; open my $IN, '<', $arq or die "Cannot open '$arq' because: $!"; while ( <$IN> ) { chomp; open my $IN1, '<', $_ or die "Cannot open '$_' because: $!"; while ( <$IN1> ) { my @temp = split /\t/; if ( $temp[ 1 ] < $score ) {
In reply to Re: Variable scope issue
by jwkrahn
in thread Variable scope issue
by crickson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |