in reply to strict or not strict?
You can make a hash of references:
Then look up the reference by name use it where you'd use the hash.