./script.pl -f The outer key(user) is user1. The key(machine) is machine1: The key(machine_key) is machine1key4 Can't use string ("machine1value4") as a SCALAR ref while "strict refs" in use at ./script.pl line 50.