ported python examples to perl
Merge pull request #1 from wchristian/master

ported python examples to perl