From: Northern Ireland
|Hi there. I'm trying to read info from a text file & store it in an array. Each bit of info is seperated by a ",". I tried using the split function to seperate them but will not work. When I go to print out the array, it just prints out my file location as a string rather than printing the file info. Writing to the file is fine, just can't read from it. Any help would be great.
[This message has been edited by JohnMcLernon_77 (edited November 28, 2004).]
From: Kansas City, MO
You open the file with the handle,
but then try to read from the file name.
and then parse, or even
You might even be able to pull off
I'm not sure.
I did full time Perl development for 2 years, and I still alswys have to go back to some references for some things like filehandling.
This is the best tutorial/reference Ive found for perl.