Loading ...
Sorry, an error occurred while loading the content.

Re: [soaplite] @INC when autodispatching

Expand Messages
  • ed-soaplite@inkdroid.org
    I guess I should have RTFM. The section on SECURITY in perldoc SOAP::Lite has answered my question my about the paucity of @INC, and provided a workaround!
    Message 1 of 2 , Mar 11, 2003
    • 0 Attachment
      I guess I should have RTFM. The section on SECURITY in perldoc SOAP::Lite has
      answered my question my about the paucity of @INC, and provided a workaround!

      //Ed

      On Tue, Mar 11, 2003 at 04:40:07AM -0600, ed-soaplite@... wrote:
      > I've noticed that when I auto dispatch to a directory:
      >
      > my $server = SOAP::Transport::HTTP::Apache
      > -> uri( 'urn:/Test' )
      > -> proxy( 'http://www.example.com/soap' )
      > -> dispatch_to( '/my/soap/lib' );
      >
      > sub handler {
      > $server->handler( @_ );
      > }
      >
      > that the @INC seems to only include '/my/soap/lib', and that I am unable to use
      > other installed modules (from site_lib). Is this by design? And is there a way
      > of overriding it?

      --

      % perl -MData::Dumper -e "print Dumper($me)"
      $VAR1 = {
      'WEB' => 'http://www.inkdroid.org',
      'NAME' => 'Ed Summers',
      'AIM' => 'inkdroid',
      'EMAIL' => 'ehs@...'
      };
    Your message has been successfully submitted and would be delivered to recipients shortly.