~/programming/perl/oo$ ./test.pl Can't use string ("6") as a HASH ref while "strict refs" in use at ./test.pl line 7.