Subject: | syntax error in the example Perl code |
Date: | Thu, 20 Mar 2014 22:19:17 +0000 |
To: | bug-Geo-Shapelib [...] rt.cpan.org |
From: | David McKelvie <dmck [...] interactive.co.uk> |
There is a syntax error in the example Perl code on
http://search.cpan.org/dist/Geo-Shapelib/Shapelib.pm
--------------------------
my $shapefile = new Geo::Shapelib {
Name => 'stations',
Shapetype => POINT,
- FieldNames => ['Name','Code','Founded'];
+ FieldNames => ['Name','Code','Founded'],
- FieldTypes => ['String:50','String:10','Integer:8'];
+ FieldTypes => ['String:50','String:10','Integer:8'],
};
--------------------------