I am getting very confusion with the error.
The above coding doesn't work. It is showing an error message.
Can't use string ("test") as a subroutine ref while "strict refs" in u
+se at 1.p
l line 4.
But, when I comment the line use strict; It is working well.
Can you leave your comments, why it is not working when I use use strict