-----Original Message-----
From: Joel Ricker [mailto:[EMAIL PROTECTED]]

I'm runing into a prototype problem.  I've prototyped a function to take no
arguments like this:

sub Buildmap() {
}

and calling it just like this:

Buildmap;

And I get the warning:
  Prototype mismatch: sub Sfb::buildmap vs () at
/mydocu~1/mysite/cgi-bin/lib/Sfb/Map.pm line 10
------------------------------

My hunch from this, and I think from a similar experience: you need to call
it with:

buildmap();

to keep it happy.
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to