'lo

Andrew Wilson nuance at blackstar.co.uk
Mon Aug 27 11:13:37 CDT 2001


On Mon, Aug 27, 2001 at 05:06:50PM +0100, Tony Bowden wrote:
> On Mon, Aug 27, 2001 at 02:12:38PM +0100, Andrew Wilson wrote:
> >   print <<END;
> > Content-Type: text/html <html>
> 
> Should there not be a \n after that content-type before anything else?
> 
> >     open(COMMENT, ".$file-comment");
> 
> Eeek. Always check your return values ...

Both absolutely right, I'll consider my wrist slapped :-).  I didn't
completely go to town on the script anyway, I was trying for general
pointers rather than the absolute best version of the script ever.

cheers

Andrew



More information about the Belfast-pm mailing list