in reply to Re^2: How to call sub routine onclicking submit button by different site selection from the popup menu using perl cgi script ?
in thread How to call sub routine onclicking submit button by different site selection from the popup menu using perl cgi script ?
just where do you expect $CGI_PARAM to come from? See this Re: submit button fails to pass the values using perl cgi?, i already showed you the answer. Pay particular attention to the my $ispopup1=param('popup1'); line.
and do you realize that after you say my %GLOBAL =(); all the stuff before it
gets thrown away?$GLOBAL{'CURRENT_PAGE'} = self_url; $GLOBAL{'HOME'} = $GLOBAL{'CURRENT_PAGE'}; $GLOBAL{'HOME'} =~s/\?.*//;
You will avoid a lot of problems if you start your programs with
use strict; use warnings;
And why do you persist in using two names when it is clear that both are the same clueless person?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to call sub routine onclicking submit button by different site selection from the popup menu using perl cgi script ?
by Anonymous Monk on Apr 04, 2017 at 15:13 UTC | |
|