If strict is bothering you :) turn it off :) no strict 'refs'; ## no critic; because strict itself confers no benefits; The benefits come from avoidance of the bad practices forbidden by strict :)
Its time to read a classic :)
Here is explanation of how to do this ( no strict 'refs'; ## no critic;), why not to do this, and the better approach -- it is FAQ :)
In reply to Re: using a string as a SCALAR ref while "strict refs" in use
by Anonymous Monk
in thread using a string as a SCALAR ref while "strict refs" in use
by xorl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |