}
);
- # This seems to happen in some weird cases where methods modifiers are
- # added via roles or some other such bizareness. Honestly, I don't totally
- # understand this, but returning the entry works, and keeps various MX
- # modules from blowing up. - DR
+ # The !$code case seems to happen in some weird cases where methods
+ # modifiers are added via roles or some other such bizareness. Honestly, I
+ # don't totally understand this, but returning the entry works, and keeps
+ # various MX modules from blowing up. - DR
return $map_entry
if blessed $map_entry && ( !$code || $map_entry->body == $code );