Mapscript & Perl 5.6

Doyon, Jean-Francois Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Tue Jun 13 12:59:38 EDT 2000


Has mapscript been tested against perl 5.6 ? I just upgraded and am having a
problem :

Can't locate auto/colorObj/addColor.al in @INC (@INC contains:
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) at /home/httpd/cgi-bin/opengis line 104

This error is generated by the line :

$map->{imagecolor} = $map->addColor(0,0,255);

in my perl code.

Am I doing something wrong ? I've used other mapscript methods successfully,
like new mapObj and new rectObj, as well as using constants like
$mapscript::MS_METERS ... Looks like the problem is with that method
specifically ...

Oh, BTW, a $mapscript::MS_DEFAULT might be nice too ... Didn't see one
mentionned anywhere.

Thanks !

Jean-Francois Doyon
Internet Service Development and Systems Support
GeoAccess Division
Natural Resources Canada
(613) 992-4902




More information about the mapserver-users mailing list