I have to take the input from a socket, which is an array of lines that look like so:
"Title" "blahblah" "the_first_field"
"Title2" "etcetc" "second_field"
Each element of the array is one line that looks like the above two examples.
With my code I am able to read it in just fine.
I need to take each field from theis array and fill a new array with ONLY the beginning part of each field, that is, the text in the quotes that corresponds to "Title" above, AND remove the quotes. Discard the rest of each field.
So, after I would have a new array:
Anyone have a clue? All my attempts at finding the right regexp have failed, but I am kind of a PERL newbie.
Thanks for any help!