strict is warning you because this bad idea. You can either silence strict, or use references, your choice. MJD Explains the danger:
- Why it's stupid to `use a variable as a variable name'
- A More Direct Explanation of the Problem
- What if I'm Really Careful?