in reply to Re: Re: Re: Redirecting Problem
in thread Redirecting Problem

Hi VFT,

Single quotes ( '' ) don't allow variable interpolation where as double quotes ( "" ) do. Here is an example:
#!c:\perl\perl.exe -wT use strict; use CGI; use CGI::Carp qw( fatalsToBrowser ); my $q = new CGI; my $url = "http://www.google.com"; print $q->redirect("$url"); print $q->header();

Hope this helps,

-Katie.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.