httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestServer.pm
Date Sun, 06 Jan 2002 17:59:24 GMT
Doug MacEachern wrote:

> On Sun, 6 Jan 2002, Stas Bekman wrote:
>  
> 
>>I've done with this:
>>
>>
>>-    eval 'END {
>>+    eval 'my $parent_pid = $$;
>>+          END {
>>+             return unless $$ == $parent_pid; # because of fork
>>
> 
> ok.  i thought is_parent() could be useful elsewhere, but i guess we could
> worry about that later if needed.

I needed it TestRun, whereas the fork was happening in TestServer. So it 
was definitely easier to do it locally.


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Mime
View raw message