[Gllug] Quick Perl question

Dean dean.wilson3 at virgin.net
Fri Jul 27 10:47:38 UTC 2001


On Fri, Jul 27, 2001 at 11:12:34AM +0100, Anthony.Leung at ubsw.com wrote:
> Just a quick question: could someone please tell me how to request 
> the strings from a form submitted as a post action="test.pl" 
> Ta v. much.
> Anthony

One of the easiest ways to do it is by using the CGI module. You can then
get at values like this:

my $Name = $q->param(-name=>'RadioBtn1');

Where RadioBtn1 is the name of the element on the form that the value is
from. (Clear as mud?) :)

Its probably easier to do a `perldoc CGI`

Nice disclaimer, who wrote it Homer? ;)

	Dean
-- 
Profanity is the one language all programmers understand
   --- Anon

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list