$test = { test1 => '1', test2 => '2', test3 => '3'}; #### Useless use of constants in void context at test.pl line 12. #### Can't use string ("3") as a HASH ref while "strict refs" in use at test.pl line 19.