in reply to Is it wise to dynamically load modules?
Well, that's a pretty simple loop, and it didn't take you many lines to describe what it does, and why. Yet you claim it's difficult to maintain, so I expect there's something else going on as well. Why is it difficult to maintain, and why do you think it's easier if you put the functionality in different programs, and chain them? You will still be chaining, and you still need to logic to determine what to chain, and in which order.foreach $ext (@ext) { eval "require $ext" $args_ref=$ext->process($args_ref) }The above is written. It works. And yet, it's difficult to maintain.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Is it wise to dynamically load modules?
by kurt_kober (Chaplain) on Oct 14, 2003 at 17:45 UTC | |
by Abigail-II (Bishop) on Oct 14, 2003 at 18:43 UTC |