in reply to Re: scalar ref losing it's value?
in thread scalar ref losing it's value?

Or slightly clearer imo:

print qq{<input type="hidden" name="UIDholder" value="$UIDholder">};