http://qs321.pair.com?node_id=263143


in reply to CGI Redirect with Status

Try it!

This:

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