in reply to Quickly changing a function under test in Test::More
my $function = sub { print "hi there @_\n" }; $function->("carcassonne"); [download]
duff