sub foo { print "in foo\n"; } { no strict 'refs'; &{"foo"}; }