Hi Tom-
> What does your code look like?  The following works for me:
#!/usr/bin/perl
use mapscript;
use strict;

my $map = new mapscript::mapObj("test.map") or die "no map $!";
my $name = $map->get("name");
print $name;

> #!/usr/bin/perl
> 
> use strict;
> use warnings;
> use mapscript;
> 
> my $map = new mapscript::mapObj('test.map');
> $map->saveMapContext('out2.xml');

I also tried running your code. It doesn't generate an error but no
test.xml file is created...

Any thoughts?
Thanks,
-Chris


_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to