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

2011Re: [soaplite] beginner question.. global data with http::daemon

Expand Messages
  • Paul Kulchenko
    Nov 4, 2002
    • 0 Attachment
      Hi Trey,

      > I would like to implement a cache (as a hash) that would be
      > accessible
      > to all instantiations of a given type of object. They would all
      Shouldn't be difficult. Take a look at this thread:
      http://groups.yahoo.com/group/soaplite/message/359

      The key is singleton or file-scoped 'my $foo;'. Let me know if you
      need more concrete example.

      Best wishes, Paul.

      --- "tgregory.rm" <tgregory@...> wrote:
      > Hi all,
      >
      > I just started using Soap::Lite and have the examples in the
      > distribution up and running. I searched the archive for an answer
      > to
      > my question, but didn't have any luck, so here goes.
      >
      > I would like to implement a cache (as a hash) that would be
      > accessible
      > to all instantiations of a given type of object. They would all
      > need
      > read/write access to the cache, as well see changes made by other
      > instantiations. Basically, I just want a global cache that all
      > instances can access. (I'm assuming there could be problems with
      > concurrent access, but I figure that is my next problem)
      >
      > How would one go about doing this using http::daemon?
      >
      > Thanks for any help.
      >
      > Trey
      >
      >
      > ------------------------ Yahoo! Groups Sponsor
      >
      > To unsubscribe from this group, send an email to:
      > soaplite-unsubscribe@yahoogroups.com
      >
      >
      >
      > Your use of Yahoo! Groups is subject to
      > http://docs.yahoo.com/info/terms/
      >
      >


      __________________________________________________
      Do you Yahoo!?
      HotJobs - Search new jobs daily now
      http://hotjobs.yahoo.com/
    • Show all 4 messages in this topic