Sorry, this sounds like you are looking for a way to do Java in Perl. Many answers in the Java world don't apply to Perl because the questions don't arise.
And it's not clear for me HOW the implementation should be chosen. automatically or by users choice.
> List is an interface and there are multiple concrete implementations.
Not an issue in Perl because it doesn't have static typing of the list elements.
> I think what I’d like to do ...
Please think harder what you want and show some Perl code exemplifying it.
Most of us don't "speak" Java... ;-)
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery
In reply to Re^3: perl module structure (Perl ne Java)
by LanX
in thread perl module structure
by pwagyi
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |