Of course it is. That was already made extremely clear by the following:
this is purely a curiosity and NOT for actual implementation anywhere....EVER. I know one should not do this i know what should NEVER EVER do this.....one should use hashes etc.... etc.....I know....
So yeah, we shouldn't use symbolic references, which is why we ask perl to prevent us from using them by adding use strict; to our code. It's extremely clear that the OP knows this too, but they wanted to know how to use them anyway. Some low-level code (e.g. exporters, OO frameworks, namespace cleaners, etc) require using them, and its possible the OP is working on such code.
In reply to Re^3: Contain yourselves please: THEORETICAL question about variable values being used as A PART of another variable's name.
by ikegami
in thread Contain yourselves please: THEORETICAL question about variable values being used as A PART of another variable's name.
by MarsRover
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |