Mapscript (Perl) question

Robert Chavez rchavez at perseus.tufts.edu
Mon Dec 20 07:16:32 PST 1999


It's creating a new mapObj out of "filename.map" (which is your already existing
map file).

I'm actually having a problem with this in the latest mapscript implementation.
Mapscript dies on the $map = new mapObj call where it did not in the previous
implementation.  My map file hasn't changed and runs fine in mapserv, but not
mapscript.  Has anyone run across this problem?

Rob Chavez
Programmer
Perseus Project



"Paul G. Allen" wrote:

> I'm still a bit new to Perl, so please bear with me.
>
> I'm a little confused about 'new'. When a line such as:
>
> $map = new mapObj("<filename.map>");
>
> Is this creating a new file named <filename.map> or does the file already exist
> and it simple allows the use of this file in the script?
>
> PGA




More information about the MapServer-users mailing list