--- trunk/jsFind.pm 2004/07/20 17:47:30 5 +++ trunk/jsFind.pm 2004/07/21 15:34:03 7 @@ -91,6 +91,7 @@ Data => { "path" => { "t" => "title of document", "f" => 99, + }, }, Insert => 1, Append => 1, @@ -312,7 +313,7 @@ my $path = shift || confess "to_jsfind need path to your index!"; $path .= "/" if ($path =~ /\/$/); - carp "can't create index in '$path': $!" if (! -w $path); + carp "create directory for index '$path': $!" if (! -w $path); return $self->root->to_jsfind($path,"0"); }