Can't use string ("") as a HASH ref while "strict refs" in use at foo.pl line 8.