in reply to Re: http interpolation
in thread http interpolation

Duff,
the br was a typo, i updated the code.
I use strict.
My scripts works like:
<a href="my.cgi?gotoSite=1">CVS</a>
Hereby the whole code, sorry if I was too reserved with information, I thought "small question":
use strict; use CGI qw/:standard/; my $debug = 0; # -|Main|------------------------------------------------------------- +--------- # Pre : $ARGV[0] from "script.pl # Post: # -------------------------------------------------------------------- +--------- print redirect( $ARGV[0]);
Kind regards,
Perlboer

Replies are listed 'Best First'.
Re^3: http interpolation
by BUU (Prior) on Jul 01, 2005 at 23:48 UTC
    You seem confused. This is a CGI script, since you are using CGI.pm, but you are attempting to access @ARGV, which probably isn't set by your CGI server. Maybe you should try "param" or something.