Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: CGI Redirect with Status

by sutch (Curate)
on Jun 04, 2003 at 20:41 UTC ( #263143=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -Tw
    
    use CGI qw(:standard);
    my $cgi = new CGI;
    print redirect('http://perlmonks.org/');
    
  2. or download this
    bash-2.05$ ./test.pl
    Status: 302 Moved
    Location: http://perlmonks.org/
    
    bash-2.05$
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2014-09-23 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (209 votes), past polls