$derfref = { new_key => exists $inputs{old key} and defined $inputs{old key} ? $inputs{old key} : "--no old key--" };