Matt Kettler wrote:
> At 04:10 PM 1/11/2005, kalin mintchev wrote:
>> bayes_path  /path/to/spamdb
>> 
>> does ending forward slash matter?
> 
> Actually, you MUST NOT end in a slash.. and it should end in the word
> "bayes", and there must be no directory named bayes there.
> 
>   bayes_path is actually a path AND half a filename.
...
> Just post-pend "bayes" onto the end.
> 
> bayes_path /path/to/spamdb/bayes

Couldn't this be auto-detected for?  Something like

if (-d $bayes_path)
{       $bayes_path =~ s(/?$)(/bayes);
}

Matthew.van.Eerde (at) hbinc.com                 805.964.4554 x902
Hispanic Business Inc./HireDiversity.com         Software Engineer
perl -e"map{y/a-z/l-za-k/;print}shift" "Jjhi pcdiwtg Ptga wprztg,"

Reply via email to