in reply to Re: Threads or Forking?
in thread Threads or Forking?

Of course databases are the "usual" way to share state between concurrent processes. All the hard problems are already solved that way...

$h=$ENV{HOME};my@q=split/\n\n/,`cat $h/.quotes`;$s="$h/." ."signature";$t=`cat $s`;print$t,"\n",$q[rand($#q)],"\n";