Hi,

I think you've just come accross the fact that in a normal setup there is
more than one httpd process (and thus more than one perl interpreter) that
is serving your requests. As each process starts at the same time and each
perl interpreter has its own memory space, the fact that both creation
time and object address are the same is not so strange.

If you alter the code you supplied as below, you probably see the differences.

Regards,

Frank

[..snip..]

>       print STDERR "SVN DAV + Trac ADMIN: Starting up...\n"; ###
> # Some additional object initialization
> ###
>       $self->{'edited'} = 0;
>       $self->{'creation'} = time();

add
  $self->{'check_id'} = rand(999999);
  warn "Created: [$$] ".$self->{'check_id'}."/$self at 
".$self->{'creation'}."\n";

>       return $self;

[..snip..]

> # What do we have in our flag??
>       warn "Edited:".$self->{'edited'};

change into
  warn "Editing: [$$]".$self->{'check_id'}."/$self 
current=".$self->{'edited'}."\n";

>       $self->{'edited'} += 1;

[..snip..]


Reply via email to