> print CGI::header();
> print "hello\n";
> print "foo\n";
> print "bar\n";
> foreach my $line () {
> my $result = &do_something($line);
> }
> use LWP::Simple;
> my $credit_card_server = "secure.mybank.com";
> my $username = "my_secret_username";
> my $password = "my_pass
Saturday, March 16, 2002, 9:58:15 AM, Gary Hawkins wrote:
> Web form element names automatically become script variable names and are
> assigned their values...
> use CGI 'param';
> for $name (param()) {
> $$name = param($name);
> }
> The double $$ is not a typo. Your question resulti
Saturday, March 16, 2002, 12:42:40 AM, Tiller, Jason wrote:
> my %params;
> $params{$_} = param($_) foreach param();
> If I understand your code correctly, param() returns a list of all the
> possible keys, right? If so, then the above code should work. You refer to
> the parameters as $param{