in reply to converting from string to SCALAR when using strict "refs"

but would like to not make such a change that could potentially impact other things.
Put the no strict 'refs'; and the dangerous line in a bare block of their own. The scope of strict is lexically limited to that block.

p.s. obligatory link to varvarname