
perlkid
stranger
Mar 19, 2000, 10:57 PM
Post #2 of 5
(307 views)
|
That is the whole code, the problem is that when I run the code the output into the $german1 file is not in the format I was aiming for. Here's what It's doing, In the File german.db the file is in this format; aardvark|Erdferkel The Engilsh word is on the left and the German word is on the right. The code is supposed to switch the fields so that the German Word is in front of the English word instead. And then print the code to german1.db which is different from the file that is read Like This, Erdferkel|aardvark But when I run this script I open up the german1.db and it looks like this, |aardvarkErdferkel It's like it switches the words but it leaves out the pipe that is supposed to be between aardvark and Erdferkel and places it in front of the two fields. I hope I'm not being too confusing, Thanks Cretep, I'm also not getting server 500 errors, [This message has been edited by perlkid (edited 03-20-2000).]
|