Jun 25, 2002, 6:29 AM
Post #4 of 9
OK. I've done this in order to split my data up per item. (@Member holds data read in from file)...
Re: [JonnyThunder] Splitting into an array
[In reply to]
foreach $dataitem (@member)
($a,$b,$c) = split(/\|\|/, $dataitem);
For each of the lines in my file I can split it into it's seperate components. How can I put these back into an array. For instance, I want to be able to read $a[number] to get a specific piece of data.
Does this make sense?