Can't use string ("1") as a SCALAR ref while "strict refs" in use at mytest.pl line 11 (#1) (F) Only hard references are allowed by "strict refs". Symbolic references are disallowed. See perlref. Uncaught exception from user code: Can't use string ("1") as a SCALAR ref while "strict refs" in use at mytest.pl line 11. at mytest.pl line 11.