pwagyi has asked for the wisdom of the Perl Monks concerning the following question:
If I have an interface 'I', and possibly several implementations A, B,C that satisfies interface 'I'. How could I have a module M takes 'I' as parameter? Something similar to ML functor?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: module as parameter
by haukex (Archbishop) on Sep 21, 2017 at 06:58 UTC | |
|
Re: module as parameter
by ikegami (Patriarch) on Sep 21, 2017 at 04:21 UTC | |
|
Re: module as parameter
by anonymized user 468275 (Curate) on Sep 21, 2017 at 12:21 UTC | |
|
Re: module as parameter
by Anonymous Monk on Sep 21, 2017 at 03:57 UTC |