In diagnosing a problem, I've discovered that this program:
#!/usr/local/bin/perl
use CGI qw/:standard/;
use LWP::Simple ;

causes this error:
Prototype mismatch: sub main::head vs ($) at ./z.pl line 3

If I change the program to:
#!/usr/local/bin/perl
use CGI;
use LWP::Simple ;

the error goes away.

Does this mean you can't mix styles (function-oriented vs. object-oriented) in the 
same program?

Thanks for your advice.

-Kevin Zembower

Reply via email to