Sample code for 30+ languages & platforms
Perl

XMP Examples for Chilkat2 Perl