in reply to Re: simple for some
in thread Comparing file contents to array values

Brilliant Derby It dose everything I asked for. There is the called string right there in front of me. Frustrating I can see the elements but just can’t get hold of them. I didn’t really need to be rid of the first element so I tried
foreach( @results ) { $record = $_; print $record; } @test = $record; print @test[0];
Then it prints the entire string again. Then
foreach( @results ) { $record = $_; print $record; } @test = $record print @test[1];
Then it prints nothing in the second print. Then
foreach( @results ) { $record = $_; print $record; } @test = $record $scalar = $array[0]; print $scaler;
but nothing. I just need to get hold of the elements individually so I can do something with the little critters. May god bless you guys.