map { Maasha::Biopieces::put_record( $_, $out ) } @{ $results };
}
-elsif ( @entries == 2 )
+else
{
- $results = Maasha::Match::match_mummer( [ $entries[ 0 ] ], [ $entries[ 1 ] ], $options, $tmp_dir );
+ $results = Maasha::Match::match_mummer( [ shift @entries ], \@entries, $options, $tmp_dir );
map { Maasha::Biopieces::put_record( $_, $out ) } @{ $results };
}