in reply to Backtracking

Hi
I don't really understood the problem, but I you want to get out this tags you could use a loop to get over the lines, or parse using a Parser suitable, and store the values into a hash, you could use something like:
$hash = { jtitle => ['a', 'b'], ... }
Regards,
:)