in reply to passing a variable from a link

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