note
papidave
Proverbs 26:4-5:
<blockquote>
Do not answer a fool according to his folly, or you will be like him yourself.
<p>
Answer a fool according to his folly, or he will be wise in his own eyes.
</blockquote>
I'm not terribly good with implementing nondeterministic logic myself, but I think we could do it with the following snippet:
<code>
my $folly = $fool->folly;
if ( fork() )
{
# child process
answer( $folly);
}
else
{
# parent process
answer( not $folly );
}
</code>
637052
637052