I have opened a .txt file and put the information into file handler. But the information of file handler is only line by line. How to get the information of file one varible by one varible?
e.g. Now
$fp = A B C D E
how to tokenize the $fp to...
$fp = A B C D E
$var1 = A
$var2 = B
$var3 = C
$var4 = D
$var5 = E