Stop masking $seq variable in entrezgene.pm next_seq109/head
commit71c4c49eea634a229e743457afd7cb0d0383c674
authorgantzgraf <gantzgraf@users.noreply.github.com>
Tue, 31 Mar 2015 11:15:04 +0000 (31 12:15 +0100)
committergantzgraf <gantzgraf@users.noreply.github.com>
Tue, 31 Mar 2015 11:15:04 +0000 (31 12:15 +0100)
treefac3a4102eb9d51bd6c8c63e5b4c390b7009073e
parent3b932458f70dbce666f18bffa2c4943959f38112
Stop masking $seq variable in entrezgene.pm next_seq

$seq is decalared at line 151 so that it doesn't have to be passed as an argument to subs. However, at line 199, in the next_seq sub, $seq is declared again such that the original $seq variable is never defined. This works in practice until you run into a variable without a tagname and try to throw the warning at line 571 where you end up dying with an error when trying to call method 'id' on an undefined variable.
Bio/SeqIO/entrezgene.pm