Perhaps it's an aversion to using eval,You don't need the eval here -- this works:
As for the general approach, it looks fine (and avoids repetition).. i've see that (e.g. load everything in the Plugins subdir) used in other modules (can't think of a name offhand but will go poke around and then update)...# eval "require $module; $module\::do_it( '$dir' ); 1" require "$module"; $module->do_it( $dir );
In reply to Re: Thorny design problem
by davidrw
in thread Thorny design problem
by tlm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |