I have a file that has multiple lines. For me the two lines of use are : ..... blah .... blah .... The tool described : Hammer ..... blah .... blah .... See Also : Wrench screw pliers nail ..... blah .... blah ....

I want to assign a variable to 4th variable (Hammer) based of the search string "the tool described" and an array for the See Also list (Wrench, screw, pliers, nail) based on the search string see also

I was trying to do such scripting with shell first, but want to move to perl because of its pros.