diff --git a/lib/Bio/ASN1/EntrezGene.pm b/lib/Bio/ASN1/EntrezGene.pm index 0bfd2f3..365fc97 100755 --- a/lib/Bio/ASN1/EntrezGene.pm +++ b/lib/Bio/ASN1/EntrezGene.pm @@ -312,7 +312,7 @@ sub _parse elsif($data->{$id}) { $data->{$id} = [$data->{$id}, $value] } # hash value has a second terminal value now! else { $data->{$id} = $value } # the first terminal value } - elsif($self->{input} =~ /\G{/cg) + elsif($self->{input} =~ /\G\{/cg) { $self->{depth}++; push(@{$data->{$id}}, $self->_parse()); diff --git a/lib/Bio/ASN1/Sequence.pm b/lib/Bio/ASN1/Sequence.pm index 566a8c8..c813edf 100755 --- a/lib/Bio/ASN1/Sequence.pm +++ b/lib/Bio/ASN1/Sequence.pm @@ -305,7 +305,7 @@ sub _parse elsif($data->{$id}) { $data->{$id} = [$data->{$id}, $value] } # hash value has a second terminal value now! else { $data->{$id} = $value } # the first terminal value } - elsif($self->{input} =~ /\G{/cg) + elsif($self->{input} =~ /\G\{/cg) { $self->{depth}++; push(@{$data->{$id}}, $self->_parse());