Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
Is there a way to dynamically loading a module. It is like I have a couple of modules having the same functions names in it but doing a totally different job. Now the requirement is that I need to dynamically load the module I need without using a lot of if then else loop. Can any one suggest a way how to do this. Well I have to parse this based on a command line option.
Regards
Sid
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to dynamically load modules
by lachoy (Parson) on May 03, 2005 at 15:46 UTC | |
Re: How to dynamically load modules
by ikegami (Patriarch) on May 03, 2005 at 15:51 UTC | |
Re: How to dynamically load modules
by borisz (Canon) on May 03, 2005 at 15:47 UTC | |
Re: How to dynamically load modules
by Joost (Canon) on May 03, 2005 at 15:47 UTC | |
Re: How to dynamically load modules
by tlm (Prior) on May 03, 2005 at 16:06 UTC | |
Re: How to dynamically load modules
by jeteve (Pilgrim) on May 03, 2005 at 15:48 UTC |
Back to
Seekers of Perl Wisdom