in reply to How to bring in multimethods
As expected, frobnicate cannot be imported - "there can be only one".
I don't understand this sentence, but I also don't see anything in Methods.pm that would allow it to be exported. What happens if you use Exporter to make frobnicate exportable? A brief look at the implementation of multimethods suggests it should work fine.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to bring in multimethods
by karlgoethebier (Abbot) on Sep 21, 2023 at 09:49 UTC |