Home  |  Linux  | Mysql  | PHP  | XML
From:David Nicol Date:Wed Aug 13 14:55:53 2008
Subject:Re: Devel::Callsite is a better instance key than join $;,caller()[1,2]
On Wed, Aug 13, 2008 at 3:09 PM, Ted Zlatanov <tzz@lifelogs.com> wrote:
> I get paid by the number of CPAN modules released, so yes, this will be
> Devel::GetContext, one function per module :)

I laughed


> BM> If you want calls to every(5) to only return true once every five times
> BM> even across forked processes, your going to need some sort of IPC,
> BM> obviously.
>
> It's actually not hard to do, just tie the hash to a shared memory
> segment with Tie::ShareLite and ignore the $$ and context() uniqueness.
> But I really doubt Every.pm should provide it, it's a solution in search
> of a problem.

it depends how far out you want your everyness context to extend, one
might want to every on a condor cluster or something.
Navigate in group perl.module-authors at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants