Hi all,
I have what I hope is my last problem and a very simpile one.
I am using a flatfile to store some info in the following format:
name|crypt|used
For some reason, I am not getting a new line at the end of the entry so instead of:
name|crypt|used
name2|crypt|used
I get:
name|crypt|usedname2|crypt|used
Can anyone spot the prob? I have a \n at the end the should be getting written.....
Thanks as always,
Jim
I have what I hope is my last problem and a very simpile one.
I am using a flatfile to store some info in the following format:
name|crypt|used
For some reason, I am not getting a new line at the end of the entry so instead of:
name|crypt|used
name2|crypt|used
I get:
name|crypt|usedname2|crypt|used
Can anyone spot the prob? I have a \n at the end the should be getting written.....
Thanks as always,
Jim
Code:
open (INF, ">>DB.txt") or die ("Unable to open the file \'DB\'. $!");
print INF "$Name\|" . &CryptPassword($Pass) . "\n";
close INF;