in reply to
CGI redirection
Did you print an HTTP header before the redirect?
Don't do that.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
Comment on
Re: CGI redirection
Replies are listed 'Best First'.
Re^2: CGI redirection
by
5plit_func
(Beadle)
on Jan 18, 2013 at 10:03 UTC
Many thanks tobyink it was the header which was first printed in the body of the documents right at the top of the program so i moved it into the if statement which needed it and it worked. thanks.
[reply]
In Section
Seekers of Perl Wisdom