in reply to Re: Constant name stored in a stringin thread Constant name stored in a string
Or you could examine %constant::declared.