in reply to Re: When to use modules?
in thread When to use modules?

Oops, I failed to notice that your CGI version does a manual header output, so it too misses out on the 'Date' header. You should be using print $q->header(-cookie => $cookie); to output the headers.

Replies are listed 'Best First'.
Re: Re^2: When to use modules?
by EvdB (Deacon) on Mar 23, 2004 at 13:19 UTC
    The server (apache etc) will usually add the 'Date:' header for you, so it is not needed. Try perl -MCGI -e'print CGI::header()'.

    Your other points remain valid though.