Added an example script for accessing the API ...

... via perl.