cgi redirect

I am reading the CGI.pm. I have an Apache for testting. and trying to
redirect my browser with the script to another page

#!c:/Perl/bin/Perl.exe
use CGI ();
my $cgi=new CGI;
print $cgi->redirect(-uri=>'http://twh:153/cgi-bin/other.pl'
, -nph=>1 );

But instead of going to an opening the new page it prints to the same page
the following
HTTP/1.1 302 Moved Server: Apache/2.0.52 (Win32) Status: 302 Moved Date:
Wed, 10 Nov 2004 13:14:01 GMT Location: http://twh:153/cgi-bin/other.pl
What I am doing wrong ?
Thanks.
George [ Mi, 10 November 2004 14:18 ] [ ID #476232 ]
Perl » alt.perl » cgi redirect

Vorheriges Thema: PERL+CGI+PLUG-IN architecture
Nächstes Thema: Narvy tree in PERL.