in reply to Escaping \U
If you don't want a \U there, don't put it there?
print "Something$variable\\Unselected.gif"; [download]
Or maybe you don't want the backslash there?
print "Something{$variable}Unselected.gif"; [download]
I'm unclear on what your goal is...