in reply to Error cannot locate TIEHASH
You don't give us much to go on here. How (Not) To Ask A Question
Guessing from the directory name /perlfect/ and a little Google... Is this file ".../perlfect/search.pl" from the http://www.perlfect.com/freescripts/search/ source code?
Here are lines 77 and 78 of search.pl. I'd guess $db_package is blank and you have a configuration problem.
tie %inv_index_db, $db_package, $INV_INDEX_DB_FILE, O_RDONLY, 0755 or +die "Cannot open $INV_INDEX_DB_FILE: $!"; tie %docs_db, $db_package, $DOCS_DB_FILE, O_RDONLY, 0755 or die " +Cannot open $DOCS_DB_FILE: $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Error cannot locate TIEHASH
by blackcode (Novice) on Dec 24, 2009 at 11:49 UTC | |
by gmargo (Hermit) on Dec 24, 2009 at 12:26 UTC | |
by Anonymous Monk on Dec 24, 2009 at 11:53 UTC | |
by blackcode (Novice) on Dec 24, 2009 at 11:58 UTC | |
by Corion (Patriarch) on Dec 24, 2009 at 16:43 UTC |