This should do what you mean:
print "Name: "
textfield( # this field contains the name (e.g. 'georg
+e','bill', whatever)
-name => 'name',
-size => 100);
print "age: "
textfield( # this is the age of whoever's name is in t
+he field above (possibly)
-name => 'age',
-size => 5);
my $name = param('name'); # the name we got back is placed in the vari
+able $name
my $age = param('age'); # the age we got back is placed in $age
$stats{$name} = $age; # lets associate $name with $age in a hash
-nuffin zz zZ Z Z #!perl |