zer has asked for the wisdom of the Perl Monks concerning the following question:
i was wondering if there is a way to load up a module during runtime. I am making a game that allows the user to load bots into the system. The bots take the form of modules so that you can program your own AI.
I tried fiddling with eval and it hasnt been working out. And the use only workes during the begining stage of the execution.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: loading modules at runtime
by ikegami (Patriarch) on Oct 14, 2006 at 21:16 UTC | |
by blazar (Canon) on Oct 14, 2006 at 21:52 UTC | |
by ikegami (Patriarch) on Oct 15, 2006 at 01:23 UTC | |
by phaylon (Curate) on Oct 16, 2006 at 13:05 UTC | |
by zer (Deacon) on Oct 17, 2006 at 00:20 UTC | |
Re: loading modules at runtime
by Hue-Bond (Priest) on Oct 14, 2006 at 19:55 UTC | |
by chromatic (Archbishop) on Oct 14, 2006 at 20:31 UTC | |
by ikegami (Patriarch) on Oct 14, 2006 at 21:08 UTC | |
by chromatic (Archbishop) on Oct 15, 2006 at 04:07 UTC | |
by Corion (Patriarch) on Oct 14, 2006 at 23:17 UTC | |
by ikegami (Patriarch) on Oct 15, 2006 at 01:13 UTC | |
Re: loading modules at runtime
by ioannis (Abbot) on Oct 16, 2006 at 03:46 UTC |
Back to
Seekers of Perl Wisdom