in reply to module as parameter
I'm not sure I fully understand your question, but if you are asking how to use different modules, then you'll find the answer in the replies in this thread, and there is also this thread which is a bit more recent and shows some additional methods to dynamically load a module.
If you are talking about inheritance in OO, note that @ISA is basically an array of strings that can be manipulated as such.
However, note that use happens at compile time and modifications to @ISA are global, so in case you want something more selective, it'd be better if you could explain some more, best would be with code. See SSCCE and How do I post a question effectively? Since Perl is very flexible in its OO mechanisms, it's very likely there is a way to do what you want.
|
|---|