Nov 10, 2000, 1:53 PM
Post #8 of 10
Re: Add more data to flatfile db
[In reply to]
No, foreach is the same really,
Ok, try this, Change
open(DATA, "<$datafile") | | print "$!";
That way, you can see if an error is occuring wile trying to read the data base, since the @new is turning out empty, that says it's not reading the data base, with an else satement in their it would throw all the data into @new if something was wrong with the if(). Know what I mean. Also, good thinking by printing out @new to see if it was even anything. Is the persmission of the data base your reading 777?