tultalk has asked for the wisdom of the Perl Monks concerning the following question:
Hi:
Reluctant to come here for fear of being ruthlessly attacked. Just kidding. Very helpful.
my GetLink = 'one&reaction=two'; query string xxx.cgi?action=' + GetLink;
Want to recover the query params in:
my $query = new CGI; my $action = lc ($query->param('action')); ....... elsif ($action eq "one"){ my ($string1, $string1 ) = @_; my ($string2, $string2 ) = @_; warn("string2 = '$string2'");
or
elsif ($action eq "one"){ my $query = CGI->new(); my $string2 = $query->param('reaction'); warn("string2 = '$string2'");
Tried several other pieces of code. None work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: .cgi?action params
by shmem (Chancellor) on May 28, 2017 at 13:22 UTC | |
by tultalk (Monk) on May 28, 2017 at 15:44 UTC | |
by marto (Cardinal) on May 29, 2017 at 07:58 UTC | |
by marinersk (Priest) on May 29, 2017 at 12:03 UTC | |
|
Re: .cgi?action params
by Corion (Patriarch) on May 28, 2017 at 12:54 UTC |