Simple Perlanet example as shown in http://tbsliver.wordpress.com/2013/04/21/perlanet-not-quite-so-simple/