Sample code for 30+ languages & platforms
Perl

PEM Examples for Chilkat2 Perl