in reply to Re^2: Using variable contents in new variable name
in thread Using variable contents in new variable name
Remember to re-enable them, though!
Do it only in the scope of a small code block
use strict; ... # strict in effect here ... { no strict q{refs}; # strict refs not in effect in the scope # of this code block so do something with # symbolic refs here ... } ... # strict refs back in effect again without having # to remember to re-enable it. ...
But, as imp says, don't go there if you can possibly help it.
Cheers,
JohnGG
|
|---|