Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: http::header, redirect, hyperlink send with location

by sutch (Curate)
on Mar 25, 2001 at 20:55 UTC ( #67035=note: print w/ replies, xml ) Need Help??


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:

use CGI; my $q = new CGI; print $q->redirect(-uri=>'http://blah.com/blah');
Which returns:

Status: 302 Moved location: http://blah.com/blah


Comment on Re: http::header, redirect, hyperlink send with location
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://67035]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (17)
As of 2015-07-30 19:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls