On Friday, May 3, 2002, at 03:58 , Conan Chai wrote: [..] > > tie %data, "MLDBM", "database", O_CREAT|O_RDWR, 0644 > or die "can't open/create files:$!\n"; > > the error: > MLDBM error: Second level tie failed, "No such file or > directory" [..]
p0: try one or the other mailing lists. p1: if you go back and look at perldoc -f tie you will notice the illustration code: tie(%HIST, 'NDBM_File', '/usr/lib/news/history', 1, 0); and in your case all you have is "database" - which may or may not be in the same directory as the code that you are executing..... when it is, then it is findable, when your code runs by other means - then the file "database" - should actually be 'fully qualified' as to where it will reside on the machine.... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]