http://www.perlmonks.org?node_id=1056420

wpfontenot has asked for the wisdom of the Perl Monks concerning the following question:

Can anyone give me an idication of why this code is throwing the error below?
#!/usr/bin/perl # use Convert::ASN1; use Crypt::X509::CRL; use Data::Dumper; $crl = "./ent.crl"; $decoded = Crypt::X509::CRL->new( crl => $crl ); if ( $decoded->error ) { warn "Error on parsing Certificate Revocation List: ", $decoded->error; } print Dumper ($decoded);
This error
Error on parsing Certificate Revocation List: decode error at /usr/loc +al/share/perl5/Convert/ASN1/_decode.pm line 64. $VAR1 = bless( { '_error' => 'decode error at /usr/local/share/perl5/C +onvert/ASN1/_decode.pm line 64. ' }, 'Crypt::X509::CRL' );