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
> "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
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'
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/
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
> "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>
[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,
"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
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
"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
10 matches
Mail list logo