temp is 2 Can't use string ("2") as a HASH ref while "strict refs" in use at xyz.pl line 10.