On Wed, Mar 09, 2005 at 03:38:52PM -0600, Rod Adams wrote: > There lingers the case of: > > use Foo; # from above, exports &bar is MMD::Random > > multi sub bar {...} > > Does this generate an error, since one could expect this particular &bar > to be Manhattan? Or does it assume Random, since there's already a &bar > in existence? In my head, it currently makes sense to say that the new > &bar inherits the Random policy. Only something like:
This seems like action-at-a-distance to me; I use some random module, define a couple of multis without realizing that they also exist in the module, and am baffled as to why I don't get the dispatch behavior I expect. --Dks