$name = param('name'); $hash{"name"} = "this and that" if $name ne "";