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

101dispatch_to

Expand Messages
  • Ray Rizzuto
    Mar 9, 2001
      Hi!

      Is it possible, using the Daemon process version of SoapLite, to
      dispatch_to a particular instance of a package? I.e. if the package
      is called Demo, could I do something like:

      use Demo;
      use SOAP::Transport::HTTP;

      my $demo = new Demo;

      my $daemon = SOAP::Transport::HTTP::Daemon
      -> new (LocalAddr => 'saw', LocalPort => 1025)
      -> dispatch_to($demo)
      ;

      The reason I want to do this is that the Demo object has some
      expensive operations to do during construction.

      Ray
    • Show all 3 messages in this topic