jhisey has asked for the wisdom of the Perl Monks concerning the following question:
One thing that is different now then last time I did this is this is inside of a .pm itself. Would that have any bearing on when the SOAP::Lite module gets loaded? It always loads with +trace on in this scenario. Thanks!if ($DEBUG) { eval { use SOAP::Lite +trace => 'debug'; }; } else { eval { use SOAP::Lite; }; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Loading a module at runtime
by runrig (Abbot) on May 04, 2011 at 22:53 UTC | |
by Anonymous Monk on May 05, 2011 at 02:46 UTC | |
by Anonymous Monk on May 05, 2011 at 03:22 UTC | |
|
Re: Loading a module at runtime
by wind (Priest) on May 05, 2011 at 00:36 UTC |