Hi all,
I'm trying to stop browsers from caching a page that I'm using CGI.pm to
output. According to what I've read about CGI.pm, the way I do this is with:
print header(-expires='-1d');
which sends a header that says the page expired yesterday (and needs to
be reloaded). However, the
Message-
From: Stephen.Hurley [mailto:[EMAIL PROTECTED]]
Sent: 22 February 2002 17:14
To: '[EMAIL PROTECTED]'
Subject: Problem with caching/expiry
Hi all,
I'm trying to stop browsers from caching a page that I'm using CGI.pm to
output. According to what I've read about CGI.pm, the way I do
Well, for a start, you have a spelling mistake in there...
my $retun_me = shift; - probably should be - my $return_me = shift;
Secondly, what exactly are you trying to do with this code ? I don't know
too much about perl, but I think the assignment:
@_ = @arr;
might be a little suspicious.
Hi,
I was wondering if there was a way of defining global constants in Perl ? I
use strict to keep all my variables tidy. However, there are a number of
#define-like vars that I would like to keep all together at the top of my
files, so that they can be reconfigured by whoever maintains my code
Hi,
Not sure if this is entirely a perl problem, but it is certainly related. I
made some minor changes to one of my CGI scripts (to get the page to include
the current date), and Apache started to give me a 500 error on it. The
syntax of the script is perfect, and I'm using CGI.pm to generate
Hi,
Vaguely Perl related question...after following some of the discussion about
HTML::Template the other day, I decided to go and get myself a copy. I'm
running on NT (...I know, I'm moving to linux soon) and I can't seem to get
it installed. I'm using a copy of make that I got with the unxutils