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$