http://www.perlmonks.org?node_id=1009584


in reply to Re: Creating a kml file
in thread Creating a kml file

The OP also defines $data in the $entity as a string where the documentation specifies it should be a number.