use CGI qw(param header); print header; if (param('form_submitted') { # process form and print results/errors, maybe reprint form } else { # print form }
Seems more appriate for a variable named CGIValues ... although technically the values belong to the parameters, not CGI. More useful and meaningful is:my $q = CGI->new; my @CGIValues = values %{$q->Vars};
my %param = $q->Vars; #update: typo (was %q->Vars) thanks BUU
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to Re: CGI returns no data
by jeffa
in thread CGI returns no data
by SpritusMaximus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |