Outaspace has asked for the wisdom of the Perl Monks concerning the following question:
This is triggered by a button event in a GUI. But when I now fix the compile error in this Modul and try it a second time (without restarting the GUI), my script crashes. Is this correct? Maybe I have done something wrong, so I was wondering if other people can give me a hint on this and maybe a way to do it right.eval { require SomeModul }; return 0 if ($@);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Require a Modul that produced a error before
by ikegami (Patriarch) on Oct 12, 2006 at 17:54 UTC | |
by Outaspace (Scribe) on Oct 12, 2006 at 22:58 UTC | |
by ikegami (Patriarch) on Oct 15, 2006 at 20:50 UTC | |
by Outaspace (Scribe) on Oct 16, 2006 at 21:57 UTC |