in reply to scalar ref losing it's value?

It's the single quotes that are doing it. Variables are not interpolated within single quotes.
Try changing the line to:
print "<input type=\"hidden\" name=\"UIDholder\" value=\"$UIDholder\"> +";

mildside

Replies are listed 'Best First'.
Re^2: scalar ref losing it's value?
by Crackers2 (Parson) on May 05, 2006 at 11:30 UTC

    Or slightly clearer imo:

    print qq{<input type="hidden" name="UIDholder" value="$UIDholder">};
Re^2: scalar ref losing it's value?
by davidrw (Prior) on May 05, 2006 at 13:56 UTC
    this is good place for here-docs, too:
    print <<EOS; <form action="ti_newprofile.pl"> <input type="hidden" name="UIDholder" value="$UIDholder"> <input type="submit" value="Continue"></form> EOS