I figured out the solution to my previous problem but now the problem is that even after using Tie:File, all the lines are coming into the same index of the array i.e if the txt file has following lines: File1 File2 then even after tying @array to the file,@array contains just one entry for both the lines ie if i print $array[0],it gives File1 File2 together and not only File1 which is my expected output.
In reply to Re^4: Persistent data storage
by ssinha
in thread Persistent data storage
by ssinha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |