|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: Creating a kml fileby roboticus (Canon) |
| on Dec 19, 2012 at 15:55 UTC ( #1009583=note: print w/ replies, xml ) | Need Help?? |
|
I just looked over the docs for Geo::KML::PolyMap. It looks like the problem is that you're passing in a single entity, rather than an array of entities. The docs are easy to interpret, because it shows a variably named $entity being created, and then later it shows a variable $entities being the parameter. It's easy to miss the singular to plural form. So it may work if you simply change $entities to [ $entities ] in the call--unless it's going to require more than one entity. ...roboticus When your only tool is a hammer, all problems look like your thumb.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||