in reply to Re: Re: Creating stub methods
in thread Creating stub methods

In fact it's not undefined in the full sense of the word. If you take a reference to a named sub which isn't yet defined, that reference magically becomes defined and valid as soon as that sub is defined. Observe:
$_ = \&x; *x = sub { print "Oh my\n" }; $_->();
This does print "Oh my". Perl is devious like that.

Makeshifts last the longest.