Help for this page

Select Code to Download


  1. or download this
    $ perl -MCGI=:standard -e 'print redirect("http://foo")'
    (offline mode: enter name=value pairs on standard input)
    ...
    Location: http://foo
    
  2. or download this
    use CGI qw/:standard/;
    print redirect("http://foo");