in reply to Is it wise to dynamically load modules?
Two tips for you:
- You should check the return of eval, as well as $@, to see if there was a problem loading the module.
- There are modules like autouse that do all of this for you, if you'd rather not bother doing it yourself. The standard AutoLoader module is very similar, and can be used to do this (it loads subs when they are requested, and those subs could load other modules).