in reply to Re: Re: Creating stub methodsin thread Creating stub methods
$_ = \&x; *x = sub { print "Oh my\n" }; $_->(); [download]
Makeshifts last the longest.