in reply to Loading modules by external data (i.e., database)
In my (frozen) file information display tool (a souped up magic program), I used dynamic loading for modules more or less like this :
(I'm in a hurry, if this one dosen't work, tell me and I'll look up the actual code :))$handler = eval( "use $modulename; return $modulename->new;" );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Answer: Loading modules by external data (i.e., database)
by Anonymous Monk on Jun 07, 2000 at 21:06 UTC |