[mapserver-users] Unsetting parameters in Perl/MapScript

Lowell Filak lfilak at medinaco.org
Mon Nov 18 09:17:52 EST 2002


Are you able to undef the web object and build a new one?
Lowell F.

The following message was sent by Jean-Francois.Doyon at ccrs.nrcan.gc.ca on Fri, 15 Nov 2002 18:26:56 -0500.

> Hello,
> 
> How does one "unset" a parameter set in a mapfile ?
> 
> I load a mapfile that has the ERROR template set in the WEB object, and I
> want to remove it entirely.
> 
> I've tried $map->{web}->{error} = "", but that just sets it to empty ... if
> I try undef $map->{web}->{error}, I get a segfault !, I tried setting it
> with = 0 (false), but then it just takes the value 0 and uses it as a string
> ...
> 
> Any ideas ?
> 
> Thanks,
> 
> Jean-François Doyon
> Internet Service Development and Systems Support
> GeoAccess Division
> Canada Center for Remote Sensing
> Natural Resources Canada
> http://atlas.gc.ca
> Phone: (613) 992-4902
> Fax: (613) 947-2410
> 




More information about the mapserver-users mailing list