gopalr has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
I have cgi-script name called main.cgi.
The following code works fine while running the main.cgi when I pass "newcgi.cgi" as an action name.
$query->startform(-method=>'POST', -action=>"newcgi.cgi");
And, there is soubroutine name called "report" in main.cgi.
My question is can we pass the action value as a subroutine.
Thanks in advance!!
Gopal R.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Pass the Subroutine Name in form action value
by Corion (Patriarch) on Jun 23, 2006 at 07:16 UTC | |
Re: Pass the Subroutine Name in form action value
by McDarren (Abbot) on Jun 23, 2006 at 07:15 UTC | |
Re: Pass the Subroutine Name in form action value
by Tanktalus (Canon) on Jun 23, 2006 at 14:45 UTC |
Back to
Seekers of Perl Wisdom