for my $f (@_) { no strict 'refs'; *{"$caller\::$f"} = sub { print "$f\n" }; }