I have managed to load form data t a text file that has each element separated by double quotes and commas ("item1","item2","item3"...) and I want to get open this file and use the data to repopulate an array so that I can use an item (@array[0]) to fill in a form value.
I have tried this:
open FROMFILE"<array.txt";
@array=<FROMFILE>;
But all of the data is loaded into the first element (@array[0]). Is there a way I can repopulate the array?
thanks.
I have tried this:
open FROMFILE"<array.txt";
@array=<FROMFILE>;
But all of the data is loaded into the first element (@array[0]). Is there a way I can repopulate the array?
thanks.