in reply to Re: While loop and LAST
in thread While loop and LAST

The job titles from the parsed table are more verbose than the hash keys--which are key phrases that may be found in those titles, thus the OP's regexing in the while loop. For example, in one case the OP is looking for the phrase "account manager" (a hash key) in the job title "Territory / Field Sales Account Manager Mid-Enterprise GEO".

Replies are listed 'Best First'.
Re^3: While loop and LAST
by BrowserUk (Patriarch) on Nov 02, 2013 at 06:50 UTC

    Then resetting the hash iterator will probably fix his problem.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
Re^3: While loop and LAST
by mcoblentz (Scribe) on Nov 02, 2013 at 16:16 UTC

    Correct. I was (still am) thinking that this can become a more generic approach to the problem. Eventually the hash can be maintained outside the script, either as something a third party supplies or other managers just maintain.

    If this list gets to 500 key value pairs I'm not sure.