in reply to Strict, cant use string as hash ref
That's a symbolic reference, which 'use strict' prevents you from using.
Either don't use symbolic reference, or disable strict.