my $out = $asn->decode($der); if(!defined $out) { die $asn->error(); } print Dumper($out);