print "Name: " textfield( # this field contains the name (e.g. 'george','bill', whatever) -name => 'name', -size => 100); print "age: " textfield( # this is the age of whoever's name is in the field above (possibly) -name => 'age', -size => 5); my $name = param('name'); # the name we got back is placed in the variable $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