in reply to Re^3: Persistent data storage
in thread Persistent data storage

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.

Replies are listed 'Best First'.
Re^5: Persistent data storage
by blue_cowdawg (Monsignor) on Aug 21, 2012 at 13:31 UTC

    Show me some code and I might be able to help you.


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg