my %param = $q->Vars; #update: typo (was %q->Vars) thanks BUU