Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

failing to generate proper http redirect headers

by AidanLee (Chaplain)
on Aug 29, 2003 at 19:29 UTC ( [id://287807]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print $q->redirect(-location => "http://redirected_url");
    
    system 'perl /path/to/script.pl inputfile.txt';
    
  2. or download this
    Status: 302 Moved
    location: http://redirected_url
     ---- there is a blank line here, as there should be ---
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://287807]
Approved by krisahoch
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-25 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found