Sample code for 30+ languages & platforms
Perl

ASN.1 Examples for Chilkat2 Perl