use strict; use CGI; my $query = new CGI; my $pet = $query->param{'animal'}; $| = 1; print $query->header();
There was nothing populating the %formdata hash.
Update: added the canonical header and autoflush, thanks for the suggestion to jeffa.
After Compline,
Zaxo
In reply to Re: passing a variable from a link
by Zaxo
in thread passing a variable from a link
by ginocapelli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |