Francesco Scaglioni <[EMAIL PROTECTED]> said something to this effect on 06/29/2001:
> Hi
> 
> And thanks again.
> 
> Can anyone suggest why the following gives me an error of:
> 
> 'no comma allowed after filehandle at /cgi-bin/filename line 13'
> 
> Line 13 is the print header, start_html( etc etc one

You need to import ':standard,' not 'standard', from CGI. Perl is
interpreting 'header' as a filehandle since it doesn't know about
the function called header.

use CGI qw(standard);

needs to become

use CGI qw(:standard);

(darren)

-- 
The three most dangerous things are a programmer with a soldering
iron, a manager who codes, and a user who gets ideas.

Reply via email to