I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2005-06-02 15:28:56-07 by pat007
Decode error
Hi all,
I upgrade my version to 0.19 but I still have the same trouble when I use Data Dumper it gives :
'error' => 'decode error at /usr/lib/perl5/site_perl/5.8.1/Convert/ASN1/_decode.pm line 123
but asn_dump works find, my asn.1 seems ok. In fact when I do a decode like that
$data = $structure->decode($dataToCheck);
Dumper of $data gives $VAR1 = undef;
I set the option
$asn->configure( decode => { encoding => DER } );
before, don't know if the problem occurs because of that.
So after when I want to do a
$data->{'field1'}->{'field2'};
of course it prints nothing.
So I would like to know if somebody saw the same problem before and from what it could come from. I can send my little program if somebody wants more details.
Regards,
Pat.
Direct Responses: Write a response