in reply to Re: Loading a module at runtime
in thread Loading a module at runtime

Just an FYI, this is how I finally got it working:
if ($DEBUG) { eval "use SOAP::Lite; SOAP::Lite->import(+trace => 'debug');"; } else { eval "use SOAP::Lite;"; }

Replies are listed 'Best First'.
Re^3: Loading a module at runtime
by Anonymous Monk on May 05, 2011 at 03:22 UTC
    use SOAP::Lite; use if $DEBUG, qw[ SOAP::Lite +trace debug ];