Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: URL Redirect (header already there)

by Fletch (Chancellor)
on May 26, 2011 at 19:22 UTC ( #906885=note: print w/ replies, xml ) Need Help??

in reply to URL Redirect (header already there)

You answered your own question if you just think about it: printing the redirect after the header doesn't work, so you need to determine what you want to do first then print the corresponding response (normal headers or a redirect). You also might want to take a look at something like CGI::Application which provides a more structured approach that aides in separating presentation and logic.

The cake is a lie.
The cake is a lie.
The cake is a lie.

Comment on Re: URL Redirect (header already there)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2015-10-10 12:39 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (255 votes), past polls