I just want to write frobnicate($object) and not Methods::frobnicate($object). With use Exporter qw(import); our @EXPORT_OK =qw(frobnicate); and use Methods qw(frobnicate); only one frobnicate is found2) and with Methods->frobnicate() nothings happens.
1) I could read the sources for this (could take a while ;-).
2) This yields "Logic::Easy multi dispatch failed" from Logic::Easy line 94.
«The Crux of the Biscuit is the Apostrophe»
In reply to Re^2: How to bring in multimethods
by karlgoethebier
in thread How to bring in multimethods
by karlgoethebier
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |