Re: Cache::*

2016-02-20 Thread lee
Chris Knipe writes: > Hi, > > Are there any Cache::* modules that are thread safe and can be used with > Threading? > > Using Cache::Memory (even specifying the same NameSpace), two or more > threads can't access the same keys in the cache, > > Using Cache::File, there are issues with the indexes

Re: cache and the interpreter

2011-05-06 Thread Uri Guttman
> "MM" == Mike McClain writes: >> INIT { MM> This is the solution I needed. MM> Absolutely a big help. MM> Not only did you supply an explanation but a solution. MM> Best answer possible. not to rain on your parade but from your point of view INIT and BEGIN are the same thing. th

Re: cache and the interpreter

2011-05-06 Thread Mike McClain
On Fri, May 06, 2011 at 08:16:14AM +0100, Rob Dixon wrote: > On 06/05/2011 01:21, Mike McClain wrote: > > > > Here's a simple example that illustrates the problem I've run into: > As Uri says, initialising variables at the point of declaration is done > at run time. This is from 'Programming Perl'

Re: cache and the interpreter

2011-05-06 Thread Dr.Ruud
On 2011-05-06 02:21, Mike McClain wrote: $fibs[$#fibs+1] = 2; push @fibs, 2; -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: cache and the interpreter

2011-05-06 Thread Rob Dixon
On 06/05/2011 01:21, Mike McClain wrote: > > Here's a simple example that illustrates the problem I've run into: > > perl -le' > show(); > { my @fibs = (0,1,1); my ($x, $y) = (1,2); > sub show > { print "x=$x\ty=$y\t\$#fibs=$#fibs\tfibs=@fibs\tscalar \@fibs = ", > scalar

Re: cache and the interpreter

2011-05-05 Thread Uri Guttman
> "MM" == Mike McClain writes: MM> Here's a simple example that illustrates the problem I've run into: MM> perl -le' MM> show(); MM> { my @fibs = (0,1,1); my ($x, $y) = (1,2); MM> sub show MM> { print "x=$x\ty=$y\t\$#fibs=$#fibs\tfibs=@fibs\tscalar \@fibs = ", MM>

Re: Cache::FastMmap

2008-10-06 Thread Dr.Ruud
[EMAIL PROTECTED] schreef: > i keep on getting this error in httpd log when i run a perl script > which uses cache::fastmmap Does it actually use cache::fastmmap, or Cache::FastMmap? -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Cache::Filecache Question

2004-03-05 Thread R. Joseph Newton
"Michael C. Davis" wrote: > At 09:58 PM 3/4/04 -0800, R. Joseph Newton wrote: > >If you are using the Cache::FileCache package, the package-level functions > >exorted by the package are available to you. Any object blessed into this > >package will have access to all methods defined in the packag

Re: Cache::Filecache Question

2004-03-05 Thread Michael C. Davis
At 09:58 PM 3/4/04 -0800, R. Joseph Newton wrote: >If you are using the Cache::FileCache package, the package-level functions >exorted by the package are available to you. Any object blessed into this >package will have access to all methods defined in the package. Remember that >anmespace is a g

Re: Cache::Filecache Question

2004-03-04 Thread R. Joseph Newton
"Michael C. Davis" wrote: > Hi, I'm having trouble finding much documentation of namespaces as used > with Cache::FileCache. I've read the CPAN page and it doesn't say much > about that particular issue. Could anyone point me to anything more > explanatory. > > My particular interest is in the r