in reply to Re^3: Error opening file handle within while loop
in thread Error opening file handle within while loop

Presumably you fixed this error also

my $mafBlock = qx(maf_parse --start $start --end $end $maf); print OUT1 "$mafBlock1\n"; # << should be $maxBlock
poj

Replies are listed 'Best First'.
Re^5: Error opening file handle within while loop
by rjc33 (Sexton) on Feb 10, 2016 at 13:11 UTC
    Hi, yes well spotted and apologies, this has been fixed. My original code contained slightly different variable names and I changed them to post here to try and simplify things, seems I made a bigger problem though by creating mistakes!