RE: Runtime loading of arbitrary objectsby davorg (Chancellor)
|on Aug 21, 2000 at 14:12 UTC||Need Help??|
If I understand you correctly, this does what you want.
The trick is to use require instead of use, as require is executed at runtime (when you will know which object you want) as opposed to use which is executed at compile time (when you won't know what you want).
This will work as long as you're using pure OO modules which don't export anything that you need. If you need to use exported data then you'll have to add a call to:
After the call to require.--
European Perl Conference - Sept 22/24 2000, ICA, London