in reply to http::header, redirect, hyperlink send with location
I've never used HTTP::Headers, instead I use HTTP::Response or CGI. Doing it with CGI is easy:
Which returns:use CGI; my $q = new CGI; print $q->redirect(-uri=>'http://blah.com/blah');
Status: 302 Moved location: http://blah.com/blah
|
---|
In Section
Seekers of Perl Wisdom