Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Loading a module at runtime

by Anonymous Monk
on May 05, 2011 at 02:46 UTC ( #903046=note: print w/replies, xml ) Need Help??


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 ];

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://903046]
help
Chatterbox?
[LanX]: Saxana is still missing ...
[choroba]: LanX they made a sequel, it's unimaginably terrible
[choroba]: Saxana and the Spell Lexicon
[Discipulus]: sometime a dream a movie: me in south of usa taking a tea with zentara and tybalt89..
[LanX]: Sequel? OO
LanX thinks it's more profitable to sue J.K. Rowling ... ;-)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2018-04-20 10:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?