*{$x}{CODE} = sub { print "hi" }; Can't modify glob elem in scalar assignment...