P is for Practical | |
PerlMonks |
Re: failing to generate proper http redirect headersby The Mad Hatter (Priest) |
on Aug 29, 2003 at 19:44 UTC ( [id://287816]=note: print w/replies, xml ) | Need Help?? |
Instead of -location, use -url:
which produces (Note the uppercase 'L'. I suppose you could also use -Location, but the CGI.pm docs say to use -url (at least the last time I looked).) Update As isotope pointed out, the docs now say to use -uri, though -url will still work.
In Section
Seekers of Perl Wisdom
|
|