Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: @INC problem with SOAP::Lite

by almut (Canon)
on Jan 09, 2007 at 22:28 UTC ( #593800=note: print w/replies, xml ) Need Help??

in reply to @INC problem with SOAP::Lite

Not really sure, but my guess would be that it has to do with the following piece of code (SOAP/, line 2500):

unless (defined(%{"${class}::"}) || exists($INC{join '/', split /::/ +, $class.'.pm'})) { # allow all for static and only specified path for dynamic binding +s local @INC = (($static ? @INC : ()), grep {!ref && m![/\\.]!} $sel +f->dispatch_to); eval 'local $^W; ' . "require $class"; die "Failed to access class ($class): $@" if $@; $self->dispatched($class) unless $static; }

in particular the local @INC = ...

A cursory glance at the surrounding lines makes me wonder what would happen if you "preload" Data::Dumper in the server (the idea being that it then already is loaded when the require is executed with the restricted @INC...).   Just an idea - could be entirely wrong, though.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://593800]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2021-10-27 13:58 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (93 votes). Check out past polls.