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:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



Reply via email to